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

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

Issue 28053002: Add font_scale_factor_quirk pref. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master.pinned
Patch Set: Address review comments. Created 7 years, 1 month 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | content/public/common/common_param_traits_macros.h » ('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) 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 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 const char kWebKitTextAreasAreResizable[] = 282 const char kWebKitTextAreasAreResizable[] =
283 "webkit.webprefs.text_areas_are_resizable"; 283 "webkit.webprefs.text_areas_are_resizable";
284 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled"; 284 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled";
285 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; 285 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links";
286 const char kWebKitAllowDisplayingInsecureContent[] = 286 const char kWebKitAllowDisplayingInsecureContent[] =
287 "webkit.webprefs.allow_displaying_insecure_content"; 287 "webkit.webprefs.allow_displaying_insecure_content";
288 const char kWebKitAllowRunningInsecureContent[] = 288 const char kWebKitAllowRunningInsecureContent[] =
289 "webkit.webprefs.allow_running_insecure_content"; 289 "webkit.webprefs.allow_running_insecure_content";
290 #if defined(OS_ANDROID) 290 #if defined(OS_ANDROID)
291 const char kWebKitFontScaleFactor[] = "webkit.webprefs.font_scale_factor"; 291 const char kWebKitFontScaleFactor[] = "webkit.webprefs.font_scale_factor";
292 const char kWebKitFontScaleFactorQuirk[] =
293 "webkit.webprefs.font_scale_factor_quirk";
292 const char kWebKitForceEnableZoom[] = "webkit.webprefs.force_enable_zoom"; 294 const char kWebKitForceEnableZoom[] = "webkit.webprefs.force_enable_zoom";
293 const char kWebKitPasswordEchoEnabled[] = 295 const char kWebKitPasswordEchoEnabled[] =
294 "webkit.webprefs.password_echo_enabled"; 296 "webkit.webprefs.password_echo_enabled";
295 #endif 297 #endif
296 298
297 const char kWebKitCommonScript[] = "Zyyy"; 299 const char kWebKitCommonScript[] = "Zyyy";
298 const char kWebKitStandardFontFamily[] = "webkit.webprefs.fonts.standard.Zyyy"; 300 const char kWebKitStandardFontFamily[] = "webkit.webprefs.fonts.standard.Zyyy";
299 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fonts.fixed.Zyyy"; 301 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fonts.fixed.Zyyy";
300 const char kWebKitSerifFontFamily[] = "webkit.webprefs.fonts.serif.Zyyy"; 302 const char kWebKitSerifFontFamily[] = "webkit.webprefs.fonts.serif.Zyyy";
301 const char kWebKitSansSerifFontFamily[] = 303 const char kWebKitSansSerifFontFamily[] =
(...skipping 2276 matching lines...) Expand 10 before | Expand all | Expand 10 after
2578 // A dictionary pref which maps profile names to dictionary values which hold 2580 // A dictionary pref which maps profile names to dictionary values which hold
2579 // hashes of profile prefs that we track to detect changes that happen outside 2581 // hashes of profile prefs that we track to detect changes that happen outside
2580 // of Chrome. 2582 // of Chrome.
2581 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; 2583 const char kProfilePreferenceHashes[] = "profile.preference_hashes";
2582 2584
2583 // Stores a pair of local time and corresponding network time to bootstrap 2585 // Stores a pair of local time and corresponding network time to bootstrap
2584 // network time tracker when browser starts. 2586 // network time tracker when browser starts.
2585 const char kNetworkTimeMapping[] = "profile.network_time_mapping"; 2587 const char kNetworkTimeMapping[] = "profile.network_time_mapping";
2586 2588
2587 } // namespace prefs 2589 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698