| Index: chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java b/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java
|
| index ae42a9ba094cc789b5dad1b1ea181d21c4327223..e807dbcafbaaf4ef6cd43ea03f3500b554c377d2 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java
|
| @@ -50,6 +50,17 @@ public class AppMenuHandler {
|
| }
|
|
|
| /**
|
| + * Notifies the menu that the contents of the menu item specified by {@code menuRowId} have
|
| + * changed. This should be called if icons, titles, etc. are changing for a particular menu
|
| + * item while the menu is open.
|
| + * @param menuRowId The id of the menu item to change. This must be a row id and not a child
|
| + * id.
|
| + */
|
| + public void menuItemContentChanged(int menuRowId) {
|
| + if (mAppMenu != null) mAppMenu.menuItemContentChanged(menuRowId);
|
| + }
|
| +
|
| + /**
|
| * Show the app menu.
|
| * @param anchorView Anchor view (usually a menu button) to be used for the popup.
|
| * @param isByHardwareButton True if hardware button triggered it. (oppose to software
|
|
|