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

Unified Diff: chrome/browser/ui/cocoa/menu_button.h

Issue 2859903003: [Mac] App Menu Animated Icon (Closed)
Patch Set: Clean up 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/browser/ui/cocoa/menu_button.h
diff --git a/chrome/browser/ui/cocoa/menu_button.h b/chrome/browser/ui/cocoa/menu_button.h
index 78be3afe74ad5f1f9c77bfffb04d17f33106935a..48d28681aeb3db4261f9b0b32f7fcd6dbc47e7ee 100644
--- a/chrome/browser/ui/cocoa/menu_button.h
+++ b/chrome/browser/ui/cocoa/menu_button.h
@@ -49,6 +49,9 @@
// subclasses, returns -bounds by default.
- (NSRect)menuRect;
+// Called when the menu is about to be shown. Implemented by subclasses.
+- (void)willShowMenu;
+
@end // @interface MenuButton
// Available for subclasses.

Powered by Google App Engine
This is Rietveld 408576698