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 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
525 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; | 525 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; |
526 | 526 |
527 // An integer representing the state of the default apps installation process. | 527 // An integer representing the state of the default apps installation process. |
528 // This value is persisted in the profile's user preferences because the process | 528 // This value is persisted in the profile's user preferences because the process |
529 // is async, and the user may have stopped chrome in the middle. The next time | 529 // is async, and the user may have stopped chrome in the middle. The next time |
530 // the profile is opened, the process will continue from where it left off. | 530 // the profile is opened, the process will continue from where it left off. |
531 // | 531 // |
532 // See possible values in external_provider_impl.cc. | 532 // See possible values in external_provider_impl.cc. |
533 const char kDefaultAppsInstallState[] = "default_apps_install_state"; | 533 const char kDefaultAppsInstallState[] = "default_apps_install_state"; |
534 | 534 |
535 // A boolean pref set to true if the Chrome Web Store icons should be hidden | |
536 // from the New Tab Page. | |
537 const char kHideWebStoreIcon[] = "hide_web_store_icon"; | |
538 | |
535 #if defined(OS_CHROMEOS) | 539 #if defined(OS_CHROMEOS) |
536 // An integer pref to initially mute volume if 1. This pref is ignored if | 540 // An integer pref to initially mute volume if 1. This pref is ignored if |
537 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore | 541 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore |
538 // when the policy is lifted the original mute state is restored. | 542 // when the policy is lifted the original mute state is restored. |
539 const char kAudioMute[] = "settings.audio.mute"; | 543 const char kAudioMute[] = "settings.audio.mute"; |
540 | 544 |
541 // A double pref storing the user-requested volume. | 545 // A double pref storing the user-requested volume. |
542 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; | 546 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; |
543 | 547 |
544 // A boolean pref set to true if touchpad tap-to-click is enabled. | 548 // A boolean pref set to true if touchpad tap-to-click is enabled. |
(...skipping 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1671 const char kNtpWebStorePromoLogoSource[] = "ntp.webstorepromo.logo_source"; | 1675 const char kNtpWebStorePromoLogoSource[] = "ntp.webstorepromo.logo_source"; |
1672 | 1676 |
1673 // The "hide this" link text for the NTP web store promo. | 1677 // The "hide this" link text for the NTP web store promo. |
1674 const char kNtpWebStorePromoExpire[] = "ntp.webstorepromo.expire"; | 1678 const char kNtpWebStorePromoExpire[] = "ntp.webstorepromo.expire"; |
1675 | 1679 |
1676 // Specifies what users should maximize the NTP web store promo. | 1680 // Specifies what users should maximize the NTP web store promo. |
1677 const char kNtpWebStorePromoUserGroup[] = "ntp.webstorepromo.usergroup"; | 1681 const char kNtpWebStorePromoUserGroup[] = "ntp.webstorepromo.usergroup"; |
1678 | 1682 |
1679 // Customized app page names that appear on the New Tab Page. | 1683 // Customized app page names that appear on the New Tab Page. |
1680 const char kNtpAppPageNames[] = "ntp.app_page_names"; | 1684 const char kNtpAppPageNames[] = "ntp.app_page_names"; |
1681 | 1685 |
Dan Beam
2013/02/14 21:46:43
why isn't this pref in the ntp. dictionary?
dconnelly
2013/02/15 08:44:45
Because it applies to the ChromeOS app launcher, t
Dan Beam
2013/02/15 23:50:27
Ok, makes sense.
| |
1682 const char kDevToolsDisabled[] = "devtools.disabled"; | 1686 const char kDevToolsDisabled[] = "devtools.disabled"; |
1683 | 1687 |
1684 // A string specifying the dock location (either 'bottom' or 'right'). | 1688 // A string specifying the dock location (either 'bottom' or 'right'). |
1685 const char kDevToolsDockSide[] = "devtools.dock_side"; | 1689 const char kDevToolsDockSide[] = "devtools.dock_side"; |
1686 | 1690 |
1687 // Maps of files edited locally using DevTools. | 1691 // Maps of files edited locally using DevTools. |
1688 const char kDevToolsEditedFiles[] = "devtools.edited_files"; | 1692 const char kDevToolsEditedFiles[] = "devtools.edited_files"; |
1689 | 1693 |
1690 // List of file system paths added in DevTools. | 1694 // List of file system paths added in DevTools. |
1691 const char kDevToolsFileSystemPaths[] = "devtools.file_system_paths"; | 1695 const char kDevToolsFileSystemPaths[] = "devtools.file_system_paths"; |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2319 const char kRLZDisabled[] = "rlz.disabled"; | 2323 const char kRLZDisabled[] = "rlz.disabled"; |
2320 #endif | 2324 #endif |
2321 | 2325 |
2322 #if defined(ENABLE_APP_LIST) | 2326 #if defined(ENABLE_APP_LIST) |
2323 // The directory in user data dir that contains the profile to be used with the | 2327 // The directory in user data dir that contains the profile to be used with the |
2324 // app launcher. | 2328 // app launcher. |
2325 extern const char kAppListProfile[] = "app_list.profile"; | 2329 extern const char kAppListProfile[] = "app_list.profile"; |
2326 #endif | 2330 #endif |
2327 | 2331 |
2328 } // namespace prefs | 2332 } // namespace prefs |
OLD | NEW |