OLD | NEW |
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 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 const char kPluginsMetadata[] = "plugins.metadata"; | 998 const char kPluginsMetadata[] = "plugins.metadata"; |
999 | 999 |
1000 // Last update time of plug-ins resource cache. | 1000 // Last update time of plug-ins resource cache. |
1001 const char kPluginsResourceCacheUpdate[] = "plugins.resource_cache_update"; | 1001 const char kPluginsResourceCacheUpdate[] = "plugins.resource_cache_update"; |
1002 #endif | 1002 #endif |
1003 | 1003 |
1004 // Boolean that indicates whether we should check if we are the default browser | 1004 // Boolean that indicates whether we should check if we are the default browser |
1005 // on start-up. | 1005 // on start-up. |
1006 const char kCheckDefaultBrowser[] = "browser.check_default_browser"; | 1006 const char kCheckDefaultBrowser[] = "browser.check_default_browser"; |
1007 | 1007 |
1008 #if defined(OS_WIN) | |
1009 // By default, setting Chrome as default during first run on Windows 8 will | |
1010 // trigger shutting down the current instance and spawning a new (Metro) | |
1011 // Chrome. This boolean preference suppresses this behaviour. | |
1012 const char kSuppressSwitchToMetroModeOnSetDefault[] = | |
1013 "browser.suppress_switch_to_metro_mode_on_set_default"; | |
1014 #endif | |
1015 | |
1016 // Policy setting whether default browser check should be disabled and default | 1008 // Policy setting whether default browser check should be disabled and default |
1017 // browser registration should take place. | 1009 // browser registration should take place. |
1018 const char kDefaultBrowserSettingEnabled[] = | 1010 const char kDefaultBrowserSettingEnabled[] = |
1019 "browser.default_browser_setting_enabled"; | 1011 "browser.default_browser_setting_enabled"; |
1020 | 1012 |
1021 #if defined(OS_MACOSX) | 1013 #if defined(OS_MACOSX) |
1022 // Boolean that indicates whether the application should show the info bar | 1014 // Boolean that indicates whether the application should show the info bar |
1023 // asking the user to set up automatic updates when Keystone promotion is | 1015 // asking the user to set up automatic updates when Keystone promotion is |
1024 // required. | 1016 // required. |
1025 const char kShowUpdatePromotionInfoBar[] = | 1017 const char kShowUpdatePromotionInfoBar[] = |
(...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2371 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2363 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2372 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2364 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2373 // title or an empty string if the bookmark node was removed. | 2365 // title or an empty string if the bookmark node was removed. |
2374 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2366 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2375 #endif | 2367 #endif |
2376 | 2368 |
2377 // Whether DNS Quick Check is disabled in proxy resolution. | 2369 // Whether DNS Quick Check is disabled in proxy resolution. |
2378 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2370 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2379 | 2371 |
2380 } // namespace prefs | 2372 } // namespace prefs |
OLD | NEW |