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

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

Issue 6602021: web-ui settings: Standard font setting now correlates to WebKit's standard fo... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 9 years, 9 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // The value to use for showing locale-dependent encoding list for different 92 // The value to use for showing locale-dependent encoding list for different
93 // locale, it's initialized from the corresponding string resource that is 93 // locale, it's initialized from the corresponding string resource that is
94 // stored in non-translatable part of the resource bundle. 94 // stored in non-translatable part of the resource bundle.
95 const char kStaticEncodings[] = "intl.static_encodings"; 95 const char kStaticEncodings[] = "intl.static_encodings";
96 96
97 // OBSOLETE. The list of hostnames for which we whitelist popups (rather than 97 // OBSOLETE. The list of hostnames for which we whitelist popups (rather than
98 // blocking). 98 // blocking).
99 const char kPopupWhitelistedHosts[] = "profile.popup_whitelisted_sites"; 99 const char kPopupWhitelistedHosts[] = "profile.popup_whitelisted_sites";
100 100
101 // WebKit preferences. 101 // WebKit preferences.
102 // A boolean flag to indicate whether WebKit standard font family is 102 const char kWebKitStandardFontFamily[] = "webkit.webprefs.standard_font_family";
103 // serif or sans-serif. We don't have a UI for setting standard family.
104 // Instead, we use this pref to map either serif or sans_serif to WebKit
105 // standard font family. At the moment, we don't have a UI for this
106 // flag, either.
107 const char kWebKitStandardFontIsSerif[] =
108 "webkit.webprefs.standard_font_is_serif";
109 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fixed_font_family"; 103 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fixed_font_family";
110 const char kWebKitSerifFontFamily[] = "webkit.webprefs.serif_font_family"; 104 const char kWebKitSerifFontFamily[] = "webkit.webprefs.serif_font_family";
111 const char kWebKitSansSerifFontFamily[] = 105 const char kWebKitSansSerifFontFamily[] =
112 "webkit.webprefs.sansserif_font_family"; 106 "webkit.webprefs.sansserif_font_family";
113 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.cursive_font_family"; 107 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.cursive_font_family";
114 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fantasy_font_family"; 108 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fantasy_font_family";
115 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size"; 109 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size";
116 const char kWebKitDefaultFixedFontSize[] = 110 const char kWebKitDefaultFixedFontSize[] =
117 "webkit.webprefs.default_fixed_font_size"; 111 "webkit.webprefs.default_fixed_font_size";
118 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; 112 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size";
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1286 "profile.managed_popups_blocked_for_urls"; 1280 "profile.managed_popups_blocked_for_urls";
1287 1281
1288 // Dictionary for storing the set of known background pages (keys are extension 1282 // Dictionary for storing the set of known background pages (keys are extension
1289 // IDs of background page owners, value is a boolean that is true if the user 1283 // IDs of background page owners, value is a boolean that is true if the user
1290 // needs to acknowledge this page. 1284 // needs to acknowledge this page.
1291 const char kKnownBackgroundPages[] = "background_pages.known"; 1285 const char kKnownBackgroundPages[] = "background_pages.known";
1292 1286
1293 // Dictionary that maps URL schemes (protocols) to URL handlers. 1287 // Dictionary that maps URL schemes (protocols) to URL handlers.
1294 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; 1288 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers";
1295 } // namespace prefs 1289 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698