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

Unified Diff: apps/pref_names.cc

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: apps/pref_names.cc
diff --git a/apps/pref_names.cc b/apps/pref_names.cc
index ea08c76ba4ad271e4bd51491c4737c93cf49956e..cd5519ef436764b5559cd341322ad9c61e5b87c0 100644
--- a/apps/pref_names.cc
+++ b/apps/pref_names.cc
@@ -9,8 +9,12 @@ namespace apps {
namespace prefs {
// A boolean that tracks whether apps are allowed to enter fullscreen mode.
-extern const char kAppFullscreenAllowed[] =
- "apps.fullscreen.allowed";
+const char kAppFullscreenAllowed[] = "apps.fullscreen.allowed";
+
+// A boolean that tracks whether to show a prompt before quitting when there are
+// apps running.
+const char kNotifyWhenAppsKeepChromeAlive[] =
+ "apps.notify-when-apps-keep-chrome-alive";
} // namespace prefs

Powered by Google App Engine
This is Rietveld 408576698