Implement ComboView for Bookmarks, History and SavedPages
- Replaces ComboViewActivity for PhoneUi.
- Lives as part of the BrowserActivity's ViewTree.
- Avoids construction of ComboViewActivity everytime the bookmarks screen is opened.
Change-Id: Ic7042de731a4cc2107a297c9f7d4356bc2c30f2e
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java
index fbaaad1..24435b4 100644
--- a/src/com/android/browser/BaseUi.java
+++ b/src/com/android/browser/BaseUi.java
@@ -589,6 +589,10 @@
}
@Override
+ public void hideComboView() {
+ }
+
+ @Override
public void showCustomView(View view, int requestedOrientation,
CustomViewCallback callback) {
// if a view already exists then immediately terminate the new one
@@ -637,6 +641,11 @@
return mCustomView == null;
}
+ @Override
+ public boolean isComboViewShowing() {
+ return false;
+ }
+
// -------------------------------------------------------------------------
protected void updateNavigationState(Tab tab) {