| 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 63c4f389c6513415a6bae2494005e0086ccf8501..44e21abedf0b33d8c46de46a6fc31dc98c86663e 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
|
| @@ -52,10 +52,18 @@ public interface Toolbar {
|
| void showAppMenuUpdateBadge();
|
|
|
| /**
|
| + * Whether the update badge that is displayed on top of the app menu button is showing.
|
| + */
|
| + boolean isShowingAppMenuUpdateBadge();
|
| +
|
| + /**
|
| * Remove the update badge on the app menu button. Initially the badge is invisible so that it
|
| * gets measured and the tab switcher animation looks correct when the badge is first shown. If
|
| - * the badge will never be shown, this method should be called to change the visibility to
|
| - * gone to avoid unnecessary layout work.
|
| + * the badge will never be shown or should no longer be shown, this method should be called to
|
| + * change the visibility to gone to avoid unnecessary layout work. The disappearance of the
|
| + * badge is optionally animated if it was previously visible.
|
| + *
|
| + * @param animate Whether the removal of the badge should be animated.
|
| */
|
| - void removeAppMenuUpdateBadge();
|
| + void removeAppMenuUpdateBadge(boolean animate);
|
| }
|
|
|