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/core/common/bookmark_pref_names.h" |
15 #include "components/signin/core/common/signin_pref_names.h" | 16 #include "components/signin/core/common/signin_pref_names.h" |
16 | 17 |
17 namespace prefs { | 18 namespace prefs { |
18 | 19 |
19 // Profile prefs. Please add Local State prefs below instead. | 20 // Profile prefs. Please add Local State prefs below instead. |
20 extern const char kDefaultApps[]; | 21 extern const char kDefaultApps[]; |
21 extern const char kDefaultAppsInstalled[]; | 22 extern const char kDefaultAppsInstalled[]; |
22 extern const char kDisableScreenshots[]; | 23 extern const char kDisableScreenshots[]; |
23 extern const char kHomePageIsNewTabPage[]; | 24 extern const char kHomePageIsNewTabPage[]; |
24 extern const char kHomePage[]; | 25 extern const char kHomePage[]; |
(...skipping 18 matching lines...) Expand all Loading... |
43 extern const char kApplicationLocale[]; | 44 extern const char kApplicationLocale[]; |
44 #if defined(OS_CHROMEOS) | 45 #if defined(OS_CHROMEOS) |
45 extern const char kApplicationLocaleBackup[]; | 46 extern const char kApplicationLocaleBackup[]; |
46 extern const char kApplicationLocaleAccepted[]; | 47 extern const char kApplicationLocaleAccepted[]; |
47 extern const char kOwnerLocale[]; | 48 extern const char kOwnerLocale[]; |
48 #endif | 49 #endif |
49 | 50 |
50 extern const char kDefaultCharset[]; | 51 extern const char kDefaultCharset[]; |
51 extern const char kAcceptLanguages[]; | 52 extern const char kAcceptLanguages[]; |
52 extern const char kStaticEncodings[]; | 53 extern const char kStaticEncodings[]; |
53 extern const char kShowBookmarkBar[]; | |
54 extern const char kShowAppsShortcutInBookmarkBar[]; | |
55 extern const char kBookmarkEditorExpandedNodes[]; | |
56 extern const char kWebKitCommonScript[]; | 54 extern const char kWebKitCommonScript[]; |
57 extern const char kWebKitStandardFontFamily[]; | 55 extern const char kWebKitStandardFontFamily[]; |
58 extern const char kWebKitFixedFontFamily[]; | 56 extern const char kWebKitFixedFontFamily[]; |
59 extern const char kWebKitSerifFontFamily[]; | 57 extern const char kWebKitSerifFontFamily[]; |
60 extern const char kWebKitSansSerifFontFamily[]; | 58 extern const char kWebKitSansSerifFontFamily[]; |
61 extern const char kWebKitCursiveFontFamily[]; | 59 extern const char kWebKitCursiveFontFamily[]; |
62 extern const char kWebKitFantasyFontFamily[]; | 60 extern const char kWebKitFantasyFontFamily[]; |
63 extern const char kWebKitPictographFontFamily[]; | 61 extern const char kWebKitPictographFontFamily[]; |
64 | 62 |
65 // ISO 15924 four-letter script codes that per-script font prefs are supported | 63 // ISO 15924 four-letter script codes that per-script font prefs are supported |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 extern const char kClearSiteDataOnExit[]; | 345 extern const char kClearSiteDataOnExit[]; |
348 extern const char kDefaultZoomLevel[]; | 346 extern const char kDefaultZoomLevel[]; |
349 extern const char kPerHostZoomLevels[]; | 347 extern const char kPerHostZoomLevels[]; |
350 extern const char kAutofillDialogAutofillDefault[]; | 348 extern const char kAutofillDialogAutofillDefault[]; |
351 extern const char kAutofillDialogPayWithoutWallet[]; | 349 extern const char kAutofillDialogPayWithoutWallet[]; |
352 extern const char kAutofillDialogWalletLocationAcceptance[]; | 350 extern const char kAutofillDialogWalletLocationAcceptance[]; |
353 extern const char kAutofillDialogSaveData[]; | 351 extern const char kAutofillDialogSaveData[]; |
354 extern const char kAutofillDialogWalletShippingSameAsBilling[]; | 352 extern const char kAutofillDialogWalletShippingSameAsBilling[]; |
355 extern const char kAutofillGeneratedCardBubbleTimesShown[]; | 353 extern const char kAutofillGeneratedCardBubbleTimesShown[]; |
356 extern const char kAutofillDialogDefaults[]; | 354 extern const char kAutofillDialogDefaults[]; |
357 extern const char kEditBookmarksEnabled[]; | |
358 | 355 |
359 extern const char kPinnedTabs[]; | 356 extern const char kPinnedTabs[]; |
360 | 357 |
361 extern const char kDisable3DAPIs[]; | 358 extern const char kDisable3DAPIs[]; |
362 extern const char kEnableHyperlinkAuditing[]; | 359 extern const char kEnableHyperlinkAuditing[]; |
363 extern const char kEnableReferrers[]; | 360 extern const char kEnableReferrers[]; |
364 extern const char kEnableDoNotTrack[]; | 361 extern const char kEnableDoNotTrack[]; |
365 | 362 |
366 extern const char kImportBookmarks[]; | 363 extern const char kImportBookmarks[]; |
367 extern const char kImportHistory[]; | 364 extern const char kImportHistory[]; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 extern const char kMetricsResetIds[]; | 437 extern const char kMetricsResetIds[]; |
441 // Android has it's own metric / crash reporting implemented in Android | 438 // Android has it's own metric / crash reporting implemented in Android |
442 // Java code so kMetricsReportingEnabled doesn't make sense. We use this | 439 // Java code so kMetricsReportingEnabled doesn't make sense. We use this |
443 // to inform crashes_ui that we have enabled crash reporting. | 440 // to inform crashes_ui that we have enabled crash reporting. |
444 #if defined(OS_ANDROID) | 441 #if defined(OS_ANDROID) |
445 extern const char kCrashReportingEnabled[]; | 442 extern const char kCrashReportingEnabled[]; |
446 #endif | 443 #endif |
447 extern const char kMetricsInitialLogs[]; | 444 extern const char kMetricsInitialLogs[]; |
448 extern const char kMetricsOngoingLogs[]; | 445 extern const char kMetricsOngoingLogs[]; |
449 | 446 |
450 extern const char kBookmarkPromptEnabled[]; | |
451 extern const char kBookmarkPromptImpressionCount[]; | |
452 | |
453 extern const char kVariationsLastFetchTime[]; | 447 extern const char kVariationsLastFetchTime[]; |
454 extern const char kVariationsRestrictParameter[]; | 448 extern const char kVariationsRestrictParameter[]; |
455 extern const char kVariationsSeed[]; | 449 extern const char kVariationsSeed[]; |
456 extern const char kVariationsSeedDate[]; | 450 extern const char kVariationsSeedDate[]; |
457 extern const char kVariationsSeedHash[]; | 451 extern const char kVariationsSeedHash[]; |
458 extern const char kVariationsSeedSignature[]; | 452 extern const char kVariationsSeedSignature[]; |
459 | 453 |
460 extern const char kDeviceOpenNetworkConfiguration[]; | 454 extern const char kDeviceOpenNetworkConfiguration[]; |
461 | 455 |
462 extern const char kProfileLastUsed[]; | 456 extern const char kProfileLastUsed[]; |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 | 897 |
904 #if defined(OS_ANDROID) | 898 #if defined(OS_ANDROID) |
905 extern const char kPartnerBookmarkMappings[]; | 899 extern const char kPartnerBookmarkMappings[]; |
906 #endif | 900 #endif |
907 | 901 |
908 extern const char kQuickCheckEnabled[]; | 902 extern const char kQuickCheckEnabled[]; |
909 | 903 |
910 } // namespace prefs | 904 } // namespace prefs |
911 | 905 |
912 #endif // CHROME_COMMON_PREF_NAMES_H_ | 906 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |