Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1367)

Side by Side Diff: chrome/common/pref_names.cc

Issue 7606028: Pass per-script fonts to WebKit settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 const char kPopupWhitelistedHosts[] = "profile.popup_whitelisted_sites"; 103 const char kPopupWhitelistedHosts[] = "profile.popup_whitelisted_sites";
104 104
105 // WebKit preferences. 105 // WebKit preferences.
106 const char kWebKitStandardFontFamily[] = "webkit.webprefs.standard_font_family"; 106 const char kWebKitStandardFontFamily[] = "webkit.webprefs.standard_font_family";
107 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fixed_font_family"; 107 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fixed_font_family";
108 const char kWebKitSerifFontFamily[] = "webkit.webprefs.serif_font_family"; 108 const char kWebKitSerifFontFamily[] = "webkit.webprefs.serif_font_family";
109 const char kWebKitSansSerifFontFamily[] = 109 const char kWebKitSansSerifFontFamily[] =
110 "webkit.webprefs.sansserif_font_family"; 110 "webkit.webprefs.sansserif_font_family";
111 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.cursive_font_family"; 111 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.cursive_font_family";
112 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fantasy_font_family"; 112 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fantasy_font_family";
113 const char kWebKitStandardFontFamilyMap[] =
114 "webkit.webprefs.standard_font_family_map";
115 const char kWebKitFixedFontFamilyMap[] =
116 "webkit.webprefs.fixed_font_family_map";
117 const char kWebKitSerifFontFamilyMap[] =
118 "webkit.webprefs.serif_font_family_map";
119 const char kWebKitSansSerifFontFamilyMap[] =
120 "webkit.webprefs.sansserif_font_family_map";
121 const char kWebKitCursiveFontFamilyMap[] =
122 "webkit.webprefs.cursive_font_family_map";
123 const char kWebKitFantasyFontFamilyMap[] =
124 "webkit.webprefs.fantasy_font_family_map";
113 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size"; 125 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size";
114 const char kWebKitDefaultFixedFontSize[] = 126 const char kWebKitDefaultFixedFontSize[] =
115 "webkit.webprefs.default_fixed_font_size"; 127 "webkit.webprefs.default_fixed_font_size";
116 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; 128 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size";
117 const char kWebKitMinimumLogicalFontSize[] = 129 const char kWebKitMinimumLogicalFontSize[] =
118 "webkit.webprefs.minimum_logical_font_size"; 130 "webkit.webprefs.minimum_logical_font_size";
119 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; 131 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled";
120 const char kWebKitWebSecurityEnabled[] = "webkit.webprefs.web_security_enabled"; 132 const char kWebKitWebSecurityEnabled[] = "webkit.webprefs.web_security_enabled";
121 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = 133 const char kWebKitJavascriptCanOpenWindowsAutomatically[] =
122 "webkit.webprefs.javascript_can_open_windows_automatically"; 134 "webkit.webprefs.javascript_can_open_windows_automatically";
(...skipping 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1457 // Whether user-specified handlers for protocols and content types can be 1469 // Whether user-specified handlers for protocols and content types can be
1458 // specified. 1470 // specified.
1459 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1471 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1460 1472
1461 // Integers that specify the policy refresh rate for device- and user-policy in 1473 // Integers that specify the policy refresh rate for device- and user-policy in
1462 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1474 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1463 // by the cloud policy subsystem. 1475 // by the cloud policy subsystem.
1464 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1476 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1465 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1477 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1466 } // namespace prefs 1478 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698