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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuObserver.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser.appmenu; 5 package org.chromium.chrome.browser.appmenu;
6 6
7 /** 7 /**
8 * Allows monitoring of application menu actions. 8 * Allows monitoring of application menu actions.
9 */ 9 */
10 public interface AppMenuObserver { 10 public interface AppMenuObserver {
11 /** 11 /**
12 * Informs when the App Menu visibility changes. 12 * Informs when the App Menu visibility changes.
13 * @param isVisible Whether the menu is now visible. 13 * @param isVisible Whether the menu is now visible.
14 */ 14 */
15 public void onMenuVisibilityChanged(boolean isVisible); 15 public void onMenuVisibilityChanged(boolean isVisible);
16
17 /**
18 * Note that this will be called with {@code false} once the menu is opened.
19 * @param highlighting Whether or not the menu is highlighting (or planning to highlight) an
20 * item.
21 */
22 public void onMenuHighlightChanged(boolean highlighting);
16 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698