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 // Constants for the names of various preferences, for easier changing. | 5 // Constants for the names of various preferences, for easier changing. |
6 | 6 |
7 #ifndef CHROME_COMMON_PREF_NAMES_H_ | 7 #ifndef CHROME_COMMON_PREF_NAMES_H_ |
8 #define CHROME_COMMON_PREF_NAMES_H_ | 8 #define CHROME_COMMON_PREF_NAMES_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 | 13 |
14 #include "components/autofill/core/common/autofill_pref_names.h" | 14 #include "components/autofill/core/common/autofill_pref_names.h" |
15 #include "components/bookmarks/common/bookmark_pref_names.h" | 15 #include "components/bookmarks/common/bookmark_pref_names.h" |
| 16 #include "components/content_settings/core/common/pref_names.h" |
16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_
names.h" | 17 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_
names.h" |
17 #include "components/metrics/metrics_pref_names.h" | 18 #include "components/metrics/metrics_pref_names.h" |
18 #include "components/password_manager/core/common/password_manager_pref_names.h" | 19 #include "components/password_manager/core/common/password_manager_pref_names.h" |
19 #include "components/signin/core/common/signin_pref_names.h" | 20 #include "components/signin/core/common/signin_pref_names.h" |
20 | 21 |
21 namespace prefs { | 22 namespace prefs { |
22 | 23 |
23 // Profile prefs. Please add Local State prefs below instead. | 24 // Profile prefs. Please add Local State prefs below instead. |
24 extern const char kDefaultApps[]; | 25 extern const char kDefaultApps[]; |
25 extern const char kDefaultAppsInstalled[]; | 26 extern const char kDefaultAppsInstalled[]; |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 #if defined(ENABLE_PLUGIN_INSTALLATION) | 316 #if defined(ENABLE_PLUGIN_INSTALLATION) |
316 extern const char kPluginsMetadata[]; | 317 extern const char kPluginsMetadata[]; |
317 extern const char kPluginsResourceCacheUpdate[]; | 318 extern const char kPluginsResourceCacheUpdate[]; |
318 #endif | 319 #endif |
319 extern const char kCheckDefaultBrowser[]; | 320 extern const char kCheckDefaultBrowser[]; |
320 extern const char kDefaultBrowserSettingEnabled[]; | 321 extern const char kDefaultBrowserSettingEnabled[]; |
321 #if defined(OS_MACOSX) | 322 #if defined(OS_MACOSX) |
322 extern const char kShowUpdatePromotionInfoBar[]; | 323 extern const char kShowUpdatePromotionInfoBar[]; |
323 #endif | 324 #endif |
324 extern const char kUseCustomChromeFrame[]; | 325 extern const char kUseCustomChromeFrame[]; |
325 extern const char kDefaultContentSettings[]; | |
326 extern const char kOverrideContentSettings[]; | |
327 extern const char kContentSettingsVersion[]; | |
328 extern const char kContentSettingsPatternPairs[]; | |
329 extern const char kContentSettingsPluginWhitelist[]; | 326 extern const char kContentSettingsPluginWhitelist[]; |
330 extern const char kBlockThirdPartyCookies[]; | 327 extern const char kBlockThirdPartyCookies[]; |
331 extern const char kClearSiteDataOnExit[]; | 328 extern const char kClearSiteDataOnExit[]; |
332 extern const char kPartitionDefaultZoomLevel[]; | 329 extern const char kPartitionDefaultZoomLevel[]; |
333 extern const char kDefaultZoomLevelDeprecated[]; | 330 extern const char kDefaultZoomLevelDeprecated[]; |
334 extern const char kPartitionPerHostZoomLevels[]; | 331 extern const char kPartitionPerHostZoomLevels[]; |
335 extern const char kPerHostZoomLevelsDeprecated[]; | 332 extern const char kPerHostZoomLevelsDeprecated[]; |
336 extern const char kAutofillDialogAutofillDefault[]; | 333 extern const char kAutofillDialogAutofillDefault[]; |
337 extern const char kAutofillDialogPayWithoutWallet[]; | 334 extern const char kAutofillDialogPayWithoutWallet[]; |
338 extern const char kAutofillDialogWalletLocationAcceptance[]; | 335 extern const char kAutofillDialogWalletLocationAcceptance[]; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 | 497 |
501 extern const char kSpellCheckDictionary[]; | 498 extern const char kSpellCheckDictionary[]; |
502 extern const char kSpellCheckUseSpellingService[]; | 499 extern const char kSpellCheckUseSpellingService[]; |
503 | 500 |
504 extern const char kExcludedSchemes[]; | 501 extern const char kExcludedSchemes[]; |
505 | 502 |
506 extern const char kSafeBrowsingClientKey[]; | 503 extern const char kSafeBrowsingClientKey[]; |
507 extern const char kSafeBrowsingWrappedKey[]; | 504 extern const char kSafeBrowsingWrappedKey[]; |
508 | 505 |
509 extern const char kOptionsWindowLastTabIndex[]; | 506 extern const char kOptionsWindowLastTabIndex[]; |
510 extern const char kContentSettingsWindowLastTabIndex[]; | |
511 extern const char kCertificateManagerWindowLastTabIndex[]; | 507 extern const char kCertificateManagerWindowLastTabIndex[]; |
512 extern const char kShowFirstRunBubbleOption[]; | 508 extern const char kShowFirstRunBubbleOption[]; |
513 | 509 |
514 extern const char kLastKnownIntranetRedirectOrigin[]; | 510 extern const char kLastKnownIntranetRedirectOrigin[]; |
515 | 511 |
516 extern const char kShutdownType[]; | 512 extern const char kShutdownType[]; |
517 extern const char kShutdownNumProcesses[]; | 513 extern const char kShutdownNumProcesses[]; |
518 extern const char kShutdownNumProcessesSlow[]; | 514 extern const char kShutdownNumProcessesSlow[]; |
519 | 515 |
520 extern const char kRestartLastSessionOnShutdown[]; | 516 extern const char kRestartLastSessionOnShutdown[]; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 extern const char kCloudPrintConnectNewPrinters[]; | 606 extern const char kCloudPrintConnectNewPrinters[]; |
611 extern const char kCloudPrintXmppPingEnabled[]; | 607 extern const char kCloudPrintXmppPingEnabled[]; |
612 extern const char kCloudPrintXmppPingTimeout[]; | 608 extern const char kCloudPrintXmppPingTimeout[]; |
613 extern const char kCloudPrintPrinters[]; | 609 extern const char kCloudPrintPrinters[]; |
614 extern const char kCloudPrintSubmitEnabled[]; | 610 extern const char kCloudPrintSubmitEnabled[]; |
615 extern const char kCloudPrintUserSettings[]; | 611 extern const char kCloudPrintUserSettings[]; |
616 | 612 |
617 extern const char kProxy[]; | 613 extern const char kProxy[]; |
618 extern const char kMaxConnectionsPerProxy[]; | 614 extern const char kMaxConnectionsPerProxy[]; |
619 | 615 |
620 extern const char kManagedDefaultCookiesSetting[]; | |
621 extern const char kManagedDefaultImagesSetting[]; | |
622 extern const char kManagedDefaultJavaScriptSetting[]; | |
623 extern const char kManagedDefaultPluginsSetting[]; | |
624 extern const char kManagedDefaultPopupsSetting[]; | |
625 extern const char kManagedDefaultGeolocationSetting[]; | |
626 extern const char kManagedDefaultNotificationsSetting[]; | |
627 extern const char kManagedDefaultMediaStreamSetting[]; | |
628 | |
629 extern const char kManagedCookiesAllowedForUrls[]; | |
630 extern const char kManagedCookiesBlockedForUrls[]; | |
631 extern const char kManagedCookiesSessionOnlyForUrls[]; | |
632 extern const char kManagedImagesAllowedForUrls[]; | |
633 extern const char kManagedImagesBlockedForUrls[]; | |
634 extern const char kManagedJavaScriptAllowedForUrls[]; | |
635 extern const char kManagedJavaScriptBlockedForUrls[]; | |
636 extern const char kManagedPluginsAllowedForUrls[]; | |
637 extern const char kManagedPluginsBlockedForUrls[]; | |
638 extern const char kManagedPopupsAllowedForUrls[]; | |
639 extern const char kManagedPopupsBlockedForUrls[]; | |
640 extern const char kManagedNotificationsAllowedForUrls[]; | |
641 extern const char kManagedNotificationsBlockedForUrls[]; | |
642 extern const char kManagedAutoSelectCertificateForUrls[]; | |
643 | |
644 extern const char kAudioCaptureAllowed[]; | 616 extern const char kAudioCaptureAllowed[]; |
645 extern const char kAudioCaptureAllowedUrls[]; | 617 extern const char kAudioCaptureAllowedUrls[]; |
646 extern const char kVideoCaptureAllowed[]; | 618 extern const char kVideoCaptureAllowed[]; |
647 extern const char kVideoCaptureAllowedUrls[]; | 619 extern const char kVideoCaptureAllowedUrls[]; |
648 | 620 |
649 extern const char kHotwordSearchEnabled[]; | 621 extern const char kHotwordSearchEnabled[]; |
650 extern const char kHotwordAlwaysOnSearchEnabled[]; | 622 extern const char kHotwordAlwaysOnSearchEnabled[]; |
651 extern const char kHotwordAudioLoggingEnabled[]; | 623 extern const char kHotwordAudioLoggingEnabled[]; |
652 extern const char kHotwordPreviousLanguage[]; | 624 extern const char kHotwordPreviousLanguage[]; |
653 | 625 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
818 | 790 |
819 extern const char kQuickCheckEnabled[]; | 791 extern const char kQuickCheckEnabled[]; |
820 extern const char kBrowserGuestModeEnabled[]; | 792 extern const char kBrowserGuestModeEnabled[]; |
821 extern const char kBrowserAddPersonEnabled[]; | 793 extern const char kBrowserAddPersonEnabled[]; |
822 | 794 |
823 extern const char kEasyUnlockHardlockState[]; | 795 extern const char kEasyUnlockHardlockState[]; |
824 | 796 |
825 } // namespace prefs | 797 } // namespace prefs |
826 | 798 |
827 #endif // CHROME_COMMON_PREF_NAMES_H_ | 799 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |