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/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index 531a1c7..9b310e2 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -16,6 +16,7 @@
 
 package com.android.browser;
 
+import android.app.ActionBar;
 import android.app.Activity;
 import android.app.KeyguardManager;
 import android.content.Context;
@@ -98,6 +99,11 @@
             return;
         }
 
+        if (!isTablet(this)) {
+            final ActionBar bar = getActionBar();
+            bar.hide();
+        }
+
         // If this was a web search request, pass it on to the default web
         // search provider and finish this activity.
         /*
@@ -342,6 +348,10 @@
 
     @Override
     public boolean onOptionsItemSelected(MenuItem item) {
+        if (item.getItemId() == android.R.id.home) {
+            mUiController.getUi().hideComboView();
+            return true;
+        }
         if (!mController.onOptionsItemSelected(item)) {
             return super.onOptionsItemSelected(item);
         }