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

Unified Diff: chrome/browser/app_controller_mac.h

Issue 220373003: Prevent Chrome from quitting when apps are open. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/app_controller_mac.h
diff --git a/chrome/browser/app_controller_mac.h b/chrome/browser/app_controller_mac.h
index bd6e7a556d326db7e84ab7a881f7ecadf1b24147..bd9039b4d3ce6486d6febc29912c4da8626700e0 100644
--- a/chrome/browser/app_controller_mac.h
+++ b/chrome/browser/app_controller_mac.h
@@ -28,6 +28,7 @@ class Profile;
namespace ui {
class WorkAreaWatcherObserver;
}
+class QuitWithAppsController;
tapted 2014/04/01 08:09:45 nit: move to before line 28? I think there should
jackhou1 2014/04/02 06:38:38 Done.
// The application controller object, created by loading the MainMenu nib.
// This handles things like responding to menus when there are no windows
@@ -87,6 +88,9 @@ class WorkAreaWatcherObserver;
scoped_ptr<PrefChangeRegistrar> profilePrefRegistrar_;
PrefChangeRegistrar localPrefRegistrar_;
+
+ // Displays a notification when quitting while apps are running.
+ scoped_refptr<QuitWithAppsController> quitWithAppsController_;
}
@property(readonly, nonatomic) BOOL startupComplete;

Powered by Google App Engine
This is Rietveld 408576698