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

Unified Diff: chrome/browser/ui/cocoa/toolbar/back_forward_menu_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: Keep -[BookmarBarController dealloc] instead of changing all the tests. 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/toolbar/back_forward_menu_controller.h
diff --git a/chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.h b/chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.h
index e1863415f920142fb990520a65f88c18bcff9449..d6daee4399c57dfdf1548359aa296a166a985506 100644
--- a/chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.h
+++ b/chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.h
@@ -37,6 +37,9 @@ const BackForwardMenuType BACK_FORWARD_MENU_TYPE_FORWARD =
modelType:(BackForwardMenuType)type
button:(MenuButton*)button;
+// Called by BrowserWindowController when the Browser is being destroyed.
+- (void)browserWillBeDestroyed;
+
@end // @interface BackForwardMenuController
#endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_BACK_FORWARD_MENU_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698