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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 const char kWebKitFixedFontFamilyMap[] = | 162 const char kWebKitFixedFontFamilyMap[] = |
163 "webkit.webprefs.fonts.fixed"; | 163 "webkit.webprefs.fonts.fixed"; |
164 const char kWebKitSerifFontFamilyMap[] = | 164 const char kWebKitSerifFontFamilyMap[] = |
165 "webkit.webprefs.fonts.serif"; | 165 "webkit.webprefs.fonts.serif"; |
166 const char kWebKitSansSerifFontFamilyMap[] = | 166 const char kWebKitSansSerifFontFamilyMap[] = |
167 "webkit.webprefs.fonts.sansserif"; | 167 "webkit.webprefs.fonts.sansserif"; |
168 const char kWebKitCursiveFontFamilyMap[] = | 168 const char kWebKitCursiveFontFamilyMap[] = |
169 "webkit.webprefs.fonts.cursive"; | 169 "webkit.webprefs.fonts.cursive"; |
170 const char kWebKitFantasyFontFamilyMap[] = | 170 const char kWebKitFantasyFontFamilyMap[] = |
171 "webkit.webprefs.fonts.fantasy"; | 171 "webkit.webprefs.fonts.fantasy"; |
| 172 const char kWebKitPictographFontFamilyMap[] = |
| 173 "webkit.webprefs.fonts.pictograph"; |
172 | 174 |
173 // If these change, the corresponding enums in the extension API | 175 // If these change, the corresponding enums in the extension API |
174 // experimental.fontSettings.json must also change. | 176 // experimental.fontSettings.json must also change. |
175 const char* const kWebKitScriptsForFontFamilyMaps[] = { | 177 const char* const kWebKitScriptsForFontFamilyMaps[] = { |
176 "Afak", "Arab", "Armi", "Armn", "Avst", "Bali", "Bamu", "Bass", "Batk", | 178 "Afak", "Arab", "Armi", "Armn", "Avst", "Bali", "Bamu", "Bass", "Batk", |
177 "Beng", "Blis", "Bopo", "Brah", "Brai", "Bugi", "Buhd", "Cakm", "Cans", | 179 "Beng", "Blis", "Bopo", "Brah", "Brai", "Bugi", "Buhd", "Cakm", "Cans", |
178 "Cari", "Cham", "Cher", "Cirt", "Copt", "Cprt", "Cyrl", "Cyrs", "Deva", | 180 "Cari", "Cham", "Cher", "Cirt", "Copt", "Cprt", "Cyrl", "Cyrs", "Deva", |
179 "Dsrt", "Dupl", "Egyd", "Egyh", "Egyp", "Elba", "Ethi", "Geor", "Geok", | 181 "Dsrt", "Dupl", "Egyd", "Egyh", "Egyp", "Elba", "Ethi", "Geor", "Geok", |
180 "Glag", "Goth", "Gran", "Grek", "Gujr", "Guru", "Hang", "Hani", "Hano", | 182 "Glag", "Goth", "Gran", "Grek", "Gujr", "Guru", "Hang", "Hani", "Hano", |
181 "Hans", "Hant", "Hebr", "Hluw", "Hmng", "Hung", "Inds", "Ital", "Java", | 183 "Hans", "Hant", "Hebr", "Hluw", "Hmng", "Hung", "Inds", "Ital", "Java", |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 #endif | 278 #endif |
277 | 279 |
278 const char kWebKitCommonScript[] = "Zyyy"; | 280 const char kWebKitCommonScript[] = "Zyyy"; |
279 const char kWebKitStandardFontFamily[] = "webkit.webprefs.fonts.standard.Zyyy"; | 281 const char kWebKitStandardFontFamily[] = "webkit.webprefs.fonts.standard.Zyyy"; |
280 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fonts.fixed.Zyyy"; | 282 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fonts.fixed.Zyyy"; |
281 const char kWebKitSerifFontFamily[] = "webkit.webprefs.fonts.serif.Zyyy"; | 283 const char kWebKitSerifFontFamily[] = "webkit.webprefs.fonts.serif.Zyyy"; |
282 const char kWebKitSansSerifFontFamily[] = | 284 const char kWebKitSansSerifFontFamily[] = |
283 "webkit.webprefs.fonts.sansserif.Zyyy"; | 285 "webkit.webprefs.fonts.sansserif.Zyyy"; |
284 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.fonts.cursive.Zyyy"; | 286 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.fonts.cursive.Zyyy"; |
285 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fonts.fantasy.Zyyy"; | 287 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fonts.fantasy.Zyyy"; |
| 288 const char kWebKitPictographFontFamily[] = |
| 289 "webkit.webprefs.fonts.pictograph.Zyyy"; |
286 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size"; | 290 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size"; |
287 const char kWebKitDefaultFixedFontSize[] = | 291 const char kWebKitDefaultFixedFontSize[] = |
288 "webkit.webprefs.default_fixed_font_size"; | 292 "webkit.webprefs.default_fixed_font_size"; |
289 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; | 293 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; |
290 const char kWebKitMinimumLogicalFontSize[] = | 294 const char kWebKitMinimumLogicalFontSize[] = |
291 "webkit.webprefs.minimum_logical_font_size"; | 295 "webkit.webprefs.minimum_logical_font_size"; |
292 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; | 296 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; |
293 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = | 297 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = |
294 "webkit.webprefs.javascript_can_open_windows_automatically"; | 298 "webkit.webprefs.javascript_can_open_windows_automatically"; |
295 const char kWebKitLoadsImagesAutomatically[] = | 299 const char kWebKitLoadsImagesAutomatically[] = |
(...skipping 1793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2089 // Tracks the time of the last shown warning. Used to reset | 2093 // Tracks the time of the last shown warning. Used to reset |
2090 // |network_profile.warnings_left| after a silence period. | 2094 // |network_profile.warnings_left| after a silence period. |
2091 const char kNetworkProfileLastWarningTime[] = | 2095 const char kNetworkProfileLastWarningTime[] = |
2092 "network_profile.last_warning_time"; | 2096 "network_profile.last_warning_time"; |
2093 | 2097 |
2094 // 64-bit serialization of the time last policy usage statistics were collected | 2098 // 64-bit serialization of the time last policy usage statistics were collected |
2095 // by UMA_HISTOGRAM_ENUMERATION. | 2099 // by UMA_HISTOGRAM_ENUMERATION. |
2096 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; | 2100 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; |
2097 | 2101 |
2098 } // namespace prefs | 2102 } // namespace prefs |
OLD | NEW |