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

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_controller.h

Issue 22694006: Infobar system refactor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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/infobars/infobar_controller.h
===================================================================
--- chrome/browser/ui/cocoa/infobars/infobar_controller.h (revision 238220)
+++ chrome/browser/ui/cocoa/infobars/infobar_controller.h (working copy)
@@ -72,6 +72,10 @@
- (void)addAdditionalControls;
// Subclasses must override this method to perform cleanup just before the
+// infobar hides.
+- (void)infobarWillHide;
+
+// Subclasses must override this method to perform cleanup just before the
// infobar closes.
- (void)infobarWillClose;
@@ -85,8 +89,8 @@
@end
@interface InfoBarController (Protected)
-// Closes and disables the provided menu. Subclasses should call this for each
-// popup menu in -infobarWillClose.
+// Disables the provided menu. Subclasses should call this for each popup menu
+// in -infobarWillClose.
- (void)disablePopUpMenu:(NSMenu*)menu;
@end

Powered by Google App Engine
This is Rietveld 408576698