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

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

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.mm
diff --git a/chrome/browser/ui/cocoa/infobar_controller.mm b/chrome/browser/ui/cocoa/infobar_controller.mm
index 432c00b6db42ac2e1f34b2cea77a37376048d31b..2d7f5760e966ba2d0bb92a27aedee732bfe70f4c 100644
--- a/chrome/browser/ui/cocoa/infobar_controller.mm
+++ b/chrome/browser/ui/cocoa/infobar_controller.mm
@@ -197,6 +197,10 @@ const float kAnimateCloseDuration = 0.12;
// Default implementation does nothing.
}
+- (void)infobarWillClose {
+ // Default implementation does nothing.
+}
+
- (void)setLabelToMessage:(NSString*)message {
NSMutableDictionary* attributes = [NSMutableDictionary dictionary];
NSFont* font = [NSFont labelFontOfSize:
« no previous file with comments | « chrome/browser/ui/cocoa/infobar_controller.h ('k') | chrome/browser/ui/cocoa/translate/translate_infobar_base.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698