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

Unified Diff: chrome/browser/ui/cocoa/extensions/browser_actions_controller.h

Issue 1221173003: [Mac] Inform reference counted objects that hold a weak Browser* when the Browser is being destroye… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove dealloc override. Created 5 years, 5 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/extensions/browser_actions_controller.h
diff --git a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h
index 2f81eead54a2c87df9b0ccdaca76dc01765deab2..4dcac519694bd9f2811ed2e1efa9df5e732a45e5 100644
--- a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h
+++ b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.h
@@ -84,6 +84,9 @@ extern NSString* const kBrowserActionVisibilityChangedNotification;
containerView:(BrowserActionsContainerView*)container
mainController:(BrowserActionsController*)mainController;
+// Called by BrowserWindowController when the Browser is being destroyed.
+- (void)browserWillBeDestroyed;
+
// Update the display of all buttons.
- (void)update;

Powered by Google App Engine
This is Rietveld 408576698