Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include <stddef.h> | |
| 12 | |
| 11 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 12 | 14 |
| 13 namespace prefs { | 15 namespace prefs { |
| 14 | 16 |
| 15 // Profile prefs. Please add Local State prefs below instead. | 17 // Profile prefs. Please add Local State prefs below instead. |
| 16 extern const char kAppsPromoCounter[]; | 18 extern const char kAppsPromoCounter[]; |
| 17 extern const char kDefaultAppsInstalled[]; | 19 extern const char kDefaultAppsInstalled[]; |
| 18 extern const char kHomePageIsNewTabPage[]; | 20 extern const char kHomePageIsNewTabPage[]; |
| 19 extern const char kHomePage[]; | 21 extern const char kHomePage[]; |
| 20 extern const char kSessionExitedCleanly[]; | 22 extern const char kSessionExitedCleanly[]; |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 37 extern const char kStaticEncodings[]; | 39 extern const char kStaticEncodings[]; |
| 38 extern const char kPopupWhitelistedHosts[]; | 40 extern const char kPopupWhitelistedHosts[]; |
| 39 extern const char kShowBookmarkBar[]; | 41 extern const char kShowBookmarkBar[]; |
| 40 extern const char kBookmarkEditorExpandedNodes[]; | 42 extern const char kBookmarkEditorExpandedNodes[]; |
| 41 extern const char kWebKitStandardFontFamily[]; | 43 extern const char kWebKitStandardFontFamily[]; |
| 42 extern const char kWebKitFixedFontFamily[]; | 44 extern const char kWebKitFixedFontFamily[]; |
| 43 extern const char kWebKitSerifFontFamily[]; | 45 extern const char kWebKitSerifFontFamily[]; |
| 44 extern const char kWebKitSansSerifFontFamily[]; | 46 extern const char kWebKitSansSerifFontFamily[]; |
| 45 extern const char kWebKitCursiveFontFamily[]; | 47 extern const char kWebKitCursiveFontFamily[]; |
| 46 extern const char kWebKitFantasyFontFamily[]; | 48 extern const char kWebKitFantasyFontFamily[]; |
| 49 extern const char kWebKitStandardFontFamilyMap[]; | |
| 50 extern const char kWebKitFixedFontFamilyMap[]; | |
| 51 extern const char kWebKitSerifFontFamilyMap[]; | |
| 52 extern const char kWebKitSansSerifFontFamilyMap[]; | |
| 53 extern const char kWebKitCursiveFontFamilyMap[]; | |
| 54 extern const char kWebKitFantasyFontFamilyMap[]; | |
| 55 | |
| 56 // ISO 15924 four-letter script codes that per-script font prefs are supported | |
| 57 // for. | |
| 58 extern const char* kWebKitScriptsForFontFamilyMaps[]; | |
|
M-A Ruel
2011/12/14 20:48:01
!!!
Never name a non-const variable with kSomethi
| |
| 59 extern const size_t kWebKitScriptsForFontFamilyMapsLength; | |
| 60 | |
| 61 // Per-script font prefs that have defaults, for easy reference when registering | |
| 62 // the defaults. | |
| 63 extern const char kWebKitStandardFontFamilyArabic[]; | |
| 64 extern const char kWebKitFixedFontFamilyArabic[]; | |
| 65 extern const char kWebKitSerifFontFamilyArabic[]; | |
| 66 extern const char kWebKitSansSerifFontFamilyArabic[]; | |
| 67 extern const char kWebKitStandardFontFamilyJapanese[]; | |
| 68 extern const char kWebKitFixedFontFamilyJapanese[]; | |
| 69 extern const char kWebKitSerifFontFamilyJapanese[]; | |
| 70 extern const char kWebKitSansSerifFontFamilyJapanese[]; | |
| 71 extern const char kWebKitStandardFontFamilyKorean[]; | |
| 72 extern const char kWebKitFixedFontFamilyKorean[]; | |
| 73 extern const char kWebKitSerifFontFamilyKorean[]; | |
| 74 extern const char kWebKitSansSerifFontFamilyKorean[]; | |
| 75 extern const char kWebKitStandardFontFamilySimplifiedHan[]; | |
| 76 extern const char kWebKitFixedFontFamilySimplifiedHan[]; | |
| 77 extern const char kWebKitSerifFontFamilySimplifiedHan[]; | |
| 78 extern const char kWebKitSansSerifFontFamilySimplifiedHan[]; | |
| 79 extern const char kWebKitStandardFontFamilyTraditionalHan[]; | |
| 80 extern const char kWebKitFixedFontFamilyTraditionalHan[]; | |
| 81 extern const char kWebKitSerifFontFamilyTraditionalHan[]; | |
| 82 extern const char kWebKitSansSerifFontFamilyTraditionalHan[]; | |
| 83 | |
| 47 extern const char kWebKitDefaultFontSize[]; | 84 extern const char kWebKitDefaultFontSize[]; |
| 48 extern const char kWebKitDefaultFixedFontSize[]; | 85 extern const char kWebKitDefaultFixedFontSize[]; |
| 49 extern const char kWebKitMinimumFontSize[]; | 86 extern const char kWebKitMinimumFontSize[]; |
| 50 extern const char kWebKitMinimumLogicalFontSize[]; | 87 extern const char kWebKitMinimumLogicalFontSize[]; |
| 51 extern const char kWebKitJavascriptEnabled[]; | 88 extern const char kWebKitJavascriptEnabled[]; |
| 52 extern const char kWebKitWebSecurityEnabled[]; | 89 extern const char kWebKitWebSecurityEnabled[]; |
| 53 extern const char kWebKitJavascriptCanOpenWindowsAutomatically[]; | 90 extern const char kWebKitJavascriptCanOpenWindowsAutomatically[]; |
| 54 extern const char kWebKitLoadsImagesAutomatically[]; | 91 extern const char kWebKitLoadsImagesAutomatically[]; |
| 55 extern const char kWebKitPluginsEnabled[]; | 92 extern const char kWebKitPluginsEnabled[]; |
| 56 extern const char kWebKitDomPasteEnabled[]; | 93 extern const char kWebKitDomPasteEnabled[]; |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 543 | 580 |
| 544 extern const char kUserCreatedLoginItem[]; | 581 extern const char kUserCreatedLoginItem[]; |
| 545 extern const char kBackgroundModeEnabled[]; | 582 extern const char kBackgroundModeEnabled[]; |
| 546 | 583 |
| 547 extern const char kDevicePolicyRefreshRate[]; | 584 extern const char kDevicePolicyRefreshRate[]; |
| 548 extern const char kUserPolicyRefreshRate[]; | 585 extern const char kUserPolicyRefreshRate[]; |
| 549 | 586 |
| 550 } // namespace prefs | 587 } // namespace prefs |
| 551 | 588 |
| 552 #endif // CHROME_COMMON_PREF_NAMES_H_ | 589 #endif // CHROME_COMMON_PREF_NAMES_H_ |
| OLD | NEW |