Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1813)

Unified Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java

Issue 815833002: [Android] Make menu-dragging less sensitive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2214
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java
index 4e0eefd4949e0a2160783c0a733b1296f320e75a..0b3d79b57cb5b8573f17cd04b27a2c589ac1dfe4 100644
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java
@@ -148,8 +148,7 @@ public class ChromeShellToolbar extends LinearLayout {
void setMenuHandler(AppMenuHandler menuHandler) {
mMenuHandler = menuHandler;
- ImageButton menuButton = (ImageButton) findViewById(R.id.menu_button);
- mAppMenuButtonHelper = new AppMenuButtonHelper(menuButton, mMenuHandler);
+ mAppMenuButtonHelper = new AppMenuButtonHelper(mMenuHandler);
}
private void initializeUrlField() {
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698