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

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: Sync and rebase 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2225 matching lines...) Expand 10 before | Expand all | Expand 10 after
2236 2236
2237 // Set to true if Chrome already created a login item, so there's no need to 2237 // Set to true if Chrome already created a login item, so there's no need to
2238 // create another one. 2238 // create another one.
2239 const char kChromeCreatedLoginItem[] = 2239 const char kChromeCreatedLoginItem[] =
2240 "background_mode.chrome_created_login_item"; 2240 "background_mode.chrome_created_login_item";
2241 2241
2242 // Set to true once we've initialized kChromeCreatedLoginItem for the first 2242 // Set to true once we've initialized kChromeCreatedLoginItem for the first
2243 // time. 2243 // time.
2244 const char kMigratedLoginItemPref[] = 2244 const char kMigratedLoginItemPref[] =
2245 "background_mode.migrated_login_item_pref"; 2245 "background_mode.migrated_login_item_pref";
2246
2247 // A boolean that tracks whether to show a notification when trying to quit
2248 // while there are apps running.
2249 const char kNotifyWhenAppsKeepChromeAlive[] =
2250 "apps.notify-when-apps-keep-chrome-alive";
2246 #endif 2251 #endif
2247 2252
2248 // Set to true if background mode is enabled on this browser. 2253 // Set to true if background mode is enabled on this browser.
2249 const char kBackgroundModeEnabled[] = "background_mode.enabled"; 2254 const char kBackgroundModeEnabled[] = "background_mode.enabled";
2250 2255
2251 // Set to true if hardware acceleration mode is enabled on this browser. 2256 // Set to true if hardware acceleration mode is enabled on this browser.
2252 const char kHardwareAccelerationModeEnabled[] = 2257 const char kHardwareAccelerationModeEnabled[] =
2253 "hardware_acceleration_mode.enabled"; 2258 "hardware_acceleration_mode.enabled";
2254 2259
2255 // Hardware acceleration mode from previous browser launch. 2260 // Hardware acceleration mode from previous browser launch.
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
2517 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2522 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2518 // given by the PartnerBookmarksProvider and either the user-visible renamed 2523 // given by the PartnerBookmarksProvider and either the user-visible renamed
2519 // title or an empty string if the bookmark node was removed. 2524 // title or an empty string if the bookmark node was removed.
2520 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2525 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2521 #endif 2526 #endif
2522 2527
2523 // Whether DNS Quick Check is disabled in proxy resolution. 2528 // Whether DNS Quick Check is disabled in proxy resolution.
2524 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2529 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2525 2530
2526 } // namespace prefs 2531 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698