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

Unified Diff: chrome/browser/ui/browser_list_observer.h

Issue 2793443003: Removed NOTIFICATION_BROWSER_CLOSING notification (Closed)
Patch Set: Update CL basing on review comments (rebase) Created 3 years, 7 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
« no previous file with comments | « chrome/browser/ui/browser_list.cc ('k') | chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_list_observer.h
diff --git a/chrome/browser/ui/browser_list_observer.h b/chrome/browser/ui/browser_list_observer.h
index 42af6d3086e65261be084bbf6d229111a5fb82cf..e514b650d1352fb39089a5d8c067401b92a0898e 100644
--- a/chrome/browser/ui/browser_list_observer.h
+++ b/chrome/browser/ui/browser_list_observer.h
@@ -14,6 +14,10 @@ class BrowserListObserver {
// Called immediately after a browser is added to the list
virtual void OnBrowserAdded(Browser* browser) {}
+ // Called when a Browser starts closing. This is called prior to
+ // removing the tabs. Removing the tabs may delay or stop the close.
+ virtual void OnBrowserClosing(Browser* browser) {}
+
// Called immediately after a browser is removed from the list
virtual void OnBrowserRemoved(Browser* browser) {}
« no previous file with comments | « chrome/browser/ui/browser_list.cc ('k') | chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698