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> |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 extern const char kShowBookmarkBar[]; | 67 extern const char kShowBookmarkBar[]; |
68 extern const char kBookmarkEditorExpandedNodes[]; | 68 extern const char kBookmarkEditorExpandedNodes[]; |
69 extern const char kWebKitCommonScript[]; | 69 extern const char kWebKitCommonScript[]; |
70 extern const char kWebKitStandardFontFamily[]; | 70 extern const char kWebKitStandardFontFamily[]; |
71 extern const char kWebKitFixedFontFamily[]; | 71 extern const char kWebKitFixedFontFamily[]; |
72 extern const char kWebKitSerifFontFamily[]; | 72 extern const char kWebKitSerifFontFamily[]; |
73 extern const char kWebKitSansSerifFontFamily[]; | 73 extern const char kWebKitSansSerifFontFamily[]; |
74 extern const char kWebKitCursiveFontFamily[]; | 74 extern const char kWebKitCursiveFontFamily[]; |
75 extern const char kWebKitFantasyFontFamily[]; | 75 extern const char kWebKitFantasyFontFamily[]; |
76 extern const char kWebKitPictographFontFamily[]; | 76 extern const char kWebKitPictographFontFamily[]; |
| 77 |
| 78 // ISO 15924 four-letter script codes that per-script font prefs are supported |
| 79 // for. |
| 80 extern const char* const kWebKitScriptsForFontFamilyMaps[]; |
| 81 extern const size_t kWebKitScriptsForFontFamilyMapsLength; |
| 82 |
| 83 // Per-script font pref prefixes. |
77 extern const char kWebKitStandardFontFamilyMap[]; | 84 extern const char kWebKitStandardFontFamilyMap[]; |
78 extern const char kWebKitFixedFontFamilyMap[]; | 85 extern const char kWebKitFixedFontFamilyMap[]; |
79 extern const char kWebKitSerifFontFamilyMap[]; | 86 extern const char kWebKitSerifFontFamilyMap[]; |
80 extern const char kWebKitSansSerifFontFamilyMap[]; | 87 extern const char kWebKitSansSerifFontFamilyMap[]; |
81 extern const char kWebKitCursiveFontFamilyMap[]; | 88 extern const char kWebKitCursiveFontFamilyMap[]; |
82 extern const char kWebKitFantasyFontFamilyMap[]; | 89 extern const char kWebKitFantasyFontFamilyMap[]; |
83 extern const char kWebKitPictographFontFamilyMap[]; | 90 extern const char kWebKitPictographFontFamilyMap[]; |
84 | 91 |
85 // ISO 15924 four-letter script codes that per-script font prefs are supported | |
86 // for. | |
87 extern const char* const kWebKitScriptsForFontFamilyMaps[]; | |
88 extern const size_t kWebKitScriptsForFontFamilyMapsLength; | |
89 | |
90 // Per-script font prefs that have defaults, for easy reference when registering | 92 // Per-script font prefs that have defaults, for easy reference when registering |
91 // the defaults. | 93 // the defaults. |
92 extern const char kWebKitStandardFontFamilyArabic[]; | 94 extern const char kWebKitStandardFontFamilyArabic[]; |
93 extern const char kWebKitFixedFontFamilyArabic[]; | 95 extern const char kWebKitFixedFontFamilyArabic[]; |
94 extern const char kWebKitSerifFontFamilyArabic[]; | 96 extern const char kWebKitSerifFontFamilyArabic[]; |
95 extern const char kWebKitSansSerifFontFamilyArabic[]; | 97 extern const char kWebKitSansSerifFontFamilyArabic[]; |
96 extern const char kWebKitStandardFontFamilyCyrillic[]; | 98 extern const char kWebKitStandardFontFamilyCyrillic[]; |
97 extern const char kWebKitFixedFontFamilyCyrillic[]; | 99 extern const char kWebKitFixedFontFamilyCyrillic[]; |
98 extern const char kWebKitSerifFontFamilyCyrillic[]; | 100 extern const char kWebKitSerifFontFamilyCyrillic[]; |
99 extern const char kWebKitSansSerifFontFamilyCyrillic[]; | 101 extern const char kWebKitSansSerifFontFamilyCyrillic[]; |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 extern const char kInManagedMode[]; | 779 extern const char kInManagedMode[]; |
778 | 780 |
779 extern const char kNetworkProfileWarningsLeft[]; | 781 extern const char kNetworkProfileWarningsLeft[]; |
780 extern const char kNetworkProfileLastWarningTime[]; | 782 extern const char kNetworkProfileLastWarningTime[]; |
781 | 783 |
782 extern const char kLastPolicyStatisticsUpdate[]; | 784 extern const char kLastPolicyStatisticsUpdate[]; |
783 | 785 |
784 } // namespace prefs | 786 } // namespace prefs |
785 | 787 |
786 #endif // CHROME_COMMON_PREF_NAMES_H_ | 788 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |