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/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 const char kWebKitSansSerifFontFamilySimplifiedHan[] = | 303 const char kWebKitSansSerifFontFamilySimplifiedHan[] = |
304 "webkit.webprefs.fonts.sansserif.Hans"; | 304 "webkit.webprefs.fonts.sansserif.Hans"; |
305 const char kWebKitStandardFontFamilyTraditionalHan[] = | 305 const char kWebKitStandardFontFamilyTraditionalHan[] = |
306 "webkit.webprefs.fonts.standard.Hant"; | 306 "webkit.webprefs.fonts.standard.Hant"; |
307 const char kWebKitFixedFontFamilyTraditionalHan[] = | 307 const char kWebKitFixedFontFamilyTraditionalHan[] = |
308 "webkit.webprefs.fonts.fixed.Hant"; | 308 "webkit.webprefs.fonts.fixed.Hant"; |
309 const char kWebKitSerifFontFamilyTraditionalHan[] = | 309 const char kWebKitSerifFontFamilyTraditionalHan[] = |
310 "webkit.webprefs.fonts.serif.Hant"; | 310 "webkit.webprefs.fonts.serif.Hant"; |
311 const char kWebKitSansSerifFontFamilyTraditionalHan[] = | 311 const char kWebKitSansSerifFontFamilyTraditionalHan[] = |
312 "webkit.webprefs.fonts.sansserif.Hant"; | 312 "webkit.webprefs.fonts.sansserif.Hant"; |
| 313 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 314 const char kWebKitCursiveFontFamilySimplifiedHan[] = |
| 315 "webkit.webprefs.fonts.cursive.Hans"; |
| 316 const char kWebKitCursiveFontFamilyTraditionalHan[] = |
| 317 "webkit.webprefs.fonts.cursive.Hant"; |
| 318 #endif |
313 | 319 |
314 // WebKit preferences. | 320 // WebKit preferences. |
315 const char kWebKitWebSecurityEnabled[] = "webkit.webprefs.web_security_enabled"; | 321 const char kWebKitWebSecurityEnabled[] = "webkit.webprefs.web_security_enabled"; |
316 const char kWebKitDomPasteEnabled[] = "webkit.webprefs.dom_paste_enabled"; | 322 const char kWebKitDomPasteEnabled[] = "webkit.webprefs.dom_paste_enabled"; |
317 const char kWebKitTextAreasAreResizable[] = | 323 const char kWebKitTextAreasAreResizable[] = |
318 "webkit.webprefs.text_areas_are_resizable"; | 324 "webkit.webprefs.text_areas_are_resizable"; |
319 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; | 325 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; |
320 const char kWebKitAllowRunningInsecureContent[] = | 326 const char kWebKitAllowRunningInsecureContent[] = |
321 "webkit.webprefs.allow_running_insecure_content"; | 327 "webkit.webprefs.allow_running_insecure_content"; |
322 #if defined(OS_ANDROID) | 328 #if defined(OS_ANDROID) |
(...skipping 1937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2260 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2266 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
2261 | 2267 |
2262 // A list of origin trial features to disable by policy. | 2268 // A list of origin trial features to disable by policy. |
2263 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2269 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
2264 | 2270 |
2265 // Policy that indicates the state of updates for the binary components. | 2271 // Policy that indicates the state of updates for the binary components. |
2266 const char kComponentUpdatesEnabled[] = | 2272 const char kComponentUpdatesEnabled[] = |
2267 "component_updates.component_updates_enabled"; | 2273 "component_updates.component_updates_enabled"; |
2268 | 2274 |
2269 } // namespace prefs | 2275 } // namespace prefs |
OLD | NEW |