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

Unified Diff: chrome/browser/app_controller_mac.h

Issue 1520006: Mac: reform our shutdown routine. (Closed)
Patch Set: changed comment Created 10 years, 8 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 | « no previous file | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac.h
diff --git a/chrome/browser/app_controller_mac.h b/chrome/browser/app_controller_mac.h
index 11f705fcdcfa80ebc790559735fa9e5134107681..86cf2d9156a6282d2268fb03f229f8c25af1016d 100644
--- a/chrome/browser/app_controller_mac.h
+++ b/chrome/browser/app_controller_mac.h
@@ -56,6 +56,13 @@ class Profile;
- (void)didEndMainMessageLoop;
- (Profile*)defaultProfile;
+// Try to close all browser windows, and if that succeeds then quit.
+- (BOOL)tryToTerminateApplication:(NSApplication*)app;
+
+// Stop trying to terminate the application. That is, prevent the final browser
+// window closure from causing the application to quit.
+- (void)stopTryingToTerminateApplication:(NSApplication*)app;
+
// Show the preferences window, or bring it to the front if it's already
// visible.
- (IBAction)showPreferences:(id)sender;
« no previous file with comments | « no previous file | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698