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

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

Issue 2779543005: Add support for highlighting menu items (Closed)
Patch Set: Moved PulseDrawable 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
Index: chrome/android/java/src/org/chromium/chrome/browser/toolbar/Toolbar.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/Toolbar.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/Toolbar.java
index fa6b23bb8d3edf6ccd959feac545b5c1dfa3665f..ca7d4d9062e2eccaa51a862f0e5d9fde84e1cc38 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/Toolbar.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/Toolbar.java
@@ -79,6 +79,12 @@ public interface Toolbar {
void setLayoutUpdateHost(LayoutUpdateHost layoutUpdateHost);
/**
+ * Sets whether or not the menu button should be highlighted.
+ * @param highlight Whether or not the menu button should be highlighted.
+ */
+ void setMenuButtonHighlight(boolean highlight);
+
+ /**
* Show the update badge on the app menu button. Will have no effect if there is no app menu
* button for the current Activity.
*/

Powered by Google App Engine
This is Rietveld 408576698