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

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

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.mm
===================================================================
--- chrome/browser/ui/cocoa/infobars/infobar_controller.mm (revision 238220)
+++ chrome/browser/ui/cocoa/infobars/infobar_controller.mm (working copy)
@@ -116,7 +116,7 @@
}
- (void)removeSelf {
- infobar_->RemoveSelfCocoa();
+ infobar_->RemoveSelf();
}
- (void)addAdditionalControls {
@@ -123,6 +123,9 @@
// Default implementation does nothing.
}
+- (void)infobarWillHide {
+}
+
- (void)infobarWillClose {
}
@@ -149,9 +152,6 @@
}
- (void)disablePopUpMenu:(NSMenu*)menu {
- // Remove the menu if visible.
- [menu cancelTracking];
-
// If the menu is re-opened, prevent queries to update items.
[menu setDelegate:nil];

Powered by Google App Engine
This is Rietveld 408576698