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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 const char kWebKitSerifFontFamilyMap[] = | 133 const char kWebKitSerifFontFamilyMap[] = |
134 "webkit.webprefs.fonts.serif"; | 134 "webkit.webprefs.fonts.serif"; |
135 const char kWebKitSansSerifFontFamilyMap[] = | 135 const char kWebKitSansSerifFontFamilyMap[] = |
136 "webkit.webprefs.fonts.sansserif"; | 136 "webkit.webprefs.fonts.sansserif"; |
137 const char kWebKitCursiveFontFamilyMap[] = | 137 const char kWebKitCursiveFontFamilyMap[] = |
138 "webkit.webprefs.fonts.cursive"; | 138 "webkit.webprefs.fonts.cursive"; |
139 const char kWebKitFantasyFontFamilyMap[] = | 139 const char kWebKitFantasyFontFamilyMap[] = |
140 "webkit.webprefs.fonts.fantasy"; | 140 "webkit.webprefs.fonts.fantasy"; |
141 | 141 |
142 // If these change, the corresponding enums in the extension API | 142 // If these change, the corresponding enums in the extension API |
143 // experimental.fonts.json must also change. | 143 // experimental.fontSettings.json must also change. |
144 // TODO(falken): Add all the scripts we should support. | 144 // TODO(falken): Add all the scripts we should support. |
145 const char* const kWebKitScriptsForFontFamilyMaps[] = | 145 const char* const kWebKitScriptsForFontFamilyMaps[] = |
146 { "Arab", "Hang", "Hans", "Hant", "Hrkt" }; | 146 { "Arab", "Hang", "Hans", "Hant", "Hrkt" }; |
147 | 147 |
148 const size_t kWebKitScriptsForFontFamilyMapsLength = | 148 const size_t kWebKitScriptsForFontFamilyMapsLength = |
149 arraysize(kWebKitScriptsForFontFamilyMaps); | 149 arraysize(kWebKitScriptsForFontFamilyMaps); |
150 | 150 |
151 const char kWebKitStandardFontFamilyArabic[] = | 151 const char kWebKitStandardFontFamilyArabic[] = |
152 "webkit.webprefs.fonts.standard.Arab"; | 152 "webkit.webprefs.fonts.standard.Arab"; |
153 const char kWebKitFixedFontFamilyArabic[] = | 153 const char kWebKitFixedFontFamilyArabic[] = |
(...skipping 1636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1790 const char kMinFlickSpeedSquared[] = | 1790 const char kMinFlickSpeedSquared[] = |
1791 "gesture.min_flick_speed_squared"; | 1791 "gesture.min_flick_speed_squared"; |
1792 const char kMinimumTouchDownDurationInSecondsForClick[] = | 1792 const char kMinimumTouchDownDurationInSecondsForClick[] = |
1793 "gesture.minimum_touch_down_duration_in_seconds_for_click"; | 1793 "gesture.minimum_touch_down_duration_in_seconds_for_click"; |
1794 #endif | 1794 #endif |
1795 | 1795 |
1796 // Indicates whether the browser is in managed mode. | 1796 // Indicates whether the browser is in managed mode. |
1797 const char kInManagedMode[] = "managed_mode"; | 1797 const char kInManagedMode[] = "managed_mode"; |
1798 | 1798 |
1799 } // namespace prefs | 1799 } // namespace prefs |
OLD | NEW |