Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
index 6e4a4e04b15fb73fe8d1eca88437d05ae3829be7..8bb14b5a2b670c5e89abb1d07b5d45d783002bb0 100644 |
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
@@ -6,7 +6,6 @@ package org.chromium.chrome.shell; |
import android.app.Activity; |
import android.content.Intent; |
-import android.content.res.TypedArray; |
import android.os.Bundle; |
import android.text.TextUtils; |
import android.util.Log; |
@@ -318,7 +317,7 @@ public class ChromeShellActivity extends Activity implements AppMenuPropertiesDe |
forwardMenuItem.setEnabled(getActiveTab().canGoForward()); |
// ChromeShell does not know about bookmarks yet |
- menu.findItem(R.id.bookmark_this_page_id).setEnabled(false); |
+ menu.findItem(R.id.bookmark_this_page_id).setEnabled(true); |
MenuItem signinItem = menu.findItem(R.id.signin); |
if (ChromeSigninController.get(this).isSignedIn()) { |
@@ -341,24 +340,10 @@ public class ChromeShellActivity extends Activity implements AppMenuPropertiesDe |
} |
@Override |
- public boolean shouldShowIconRow() { |
- return true; |
- } |
- |
- @Override |
public int getMenuThemeResourceId() { |
return android.R.style.Theme_Holo_Light; |
} |
- @Override |
- public int getItemRowHeight() { |
- TypedArray a = obtainStyledAttributes( |
- new int[] {android.R.attr.listPreferredItemHeightSmall}); |
- int itemRowHeight = a.getDimensionPixelSize(0, 0); |
- a.recycle(); |
- return itemRowHeight; |
- } |
- |
@VisibleForTesting |
public static void setActivityWindowAndroidFactory(ActivityWindowAndroidFactory factory) { |
sWindowAndroidFactory = factory; |