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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/toolbar/BottomToolbarPhone.java

Issue 2822813002: [Home] Disable home button (Closed)
Patch Set: add whitespace Created 3 years, 8 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/toolbar/BottomToolbarPhone.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/BottomToolbarPhone.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/BottomToolbarPhone.java
index a66d9a7cde619b68f3c814b07c06b083ed8cc489..314eebe2bd766bfa110b50a5931c18c92c441b49 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/BottomToolbarPhone.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/BottomToolbarPhone.java
@@ -314,6 +314,11 @@ public class BottomToolbarPhone extends ToolbarPhone {
return mShouldHideEndToolbarButtons;
}
+ @Override
+ protected void onHomeButtonUpdate(boolean homeButtonEnabled) {
+ // Intentionally does not call super. Chrome Home does not support a home button.
+ }
+
/**
* Sets the height and title text appearance of the provided toolbar so that its style is
* consistent with BottomToolbarPhone.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698