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

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

Issue 6296003: Mac: Fix crash when clicking on zombie translate options menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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/infobar_controller.h
diff --git a/chrome/browser/ui/cocoa/infobar_controller.h b/chrome/browser/ui/cocoa/infobar_controller.h
index e13d21130ad69b2159c9b3d19725252c0044e690..f0b735ef29bd4607f403a74259921f5bf6fa7b76 100644
--- a/chrome/browser/ui/cocoa/infobar_controller.h
+++ b/chrome/browser/ui/cocoa/infobar_controller.h
@@ -70,6 +70,10 @@ class InfoBarDelegate;
// default implementation does nothing.
- (void)addAdditionalControls;
+// Subclasses must override this method to perform cleanup just before the
+// infobar closes.
+- (void)infobarWillClose;
+
// Sets the info bar message to the specified |message|.
- (void)setLabelToMessage:(NSString*)message;
« no previous file with comments | « chrome/browser/ui/cocoa/infobar_container_controller.mm ('k') | chrome/browser/ui/cocoa/infobar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698