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]; |