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

Side by Side Diff: chrome/common/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: Address comments Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after
2311 2311
2312 // Set to true if Chrome already created a login item, so there's no need to 2312 // Set to true if Chrome already created a login item, so there's no need to
2313 // create another one. 2313 // create another one.
2314 const char kChromeCreatedLoginItem[] = 2314 const char kChromeCreatedLoginItem[] =
2315 "background_mode.chrome_created_login_item"; 2315 "background_mode.chrome_created_login_item";
2316 2316
2317 // Set to true once we've initialized kChromeCreatedLoginItem for the first 2317 // Set to true once we've initialized kChromeCreatedLoginItem for the first
2318 // time. 2318 // time.
2319 const char kMigratedLoginItemPref[] = 2319 const char kMigratedLoginItemPref[] =
2320 "background_mode.migrated_login_item_pref"; 2320 "background_mode.migrated_login_item_pref";
2321
2322 // A boolean that tracks whether to show a notification when trying to quit
2323 // while there are apps running.
2324 const char kNotifyWhenAppsKeepChromeAlive[] =
2325 "apps.notify-when-apps-keep-chrome-alive";
2321 #endif 2326 #endif
2322 2327
2323 // Set to true if background mode is enabled on this browser. 2328 // Set to true if background mode is enabled on this browser.
2324 const char kBackgroundModeEnabled[] = "background_mode.enabled"; 2329 const char kBackgroundModeEnabled[] = "background_mode.enabled";
2325 2330
2326 // Set to true if hardware acceleration mode is enabled on this browser. 2331 // Set to true if hardware acceleration mode is enabled on this browser.
2327 const char kHardwareAccelerationModeEnabled[] = 2332 const char kHardwareAccelerationModeEnabled[] =
2328 "hardware_acceleration_mode.enabled"; 2333 "hardware_acceleration_mode.enabled";
2329 2334
2330 // Hardware acceleration mode from previous browser launch. 2335 // Hardware acceleration mode from previous browser launch.
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
2596 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2601 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2597 // given by the PartnerBookmarksProvider and either the user-visible renamed 2602 // given by the PartnerBookmarksProvider and either the user-visible renamed
2598 // title or an empty string if the bookmark node was removed. 2603 // title or an empty string if the bookmark node was removed.
2599 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2604 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2600 #endif 2605 #endif
2601 2606
2602 // Whether DNS Quick Check is disabled in proxy resolution. 2607 // Whether DNS Quick Check is disabled in proxy resolution.
2603 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2608 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2604 2609
2605 } // namespace prefs 2610 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698