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

Unified Diff: chrome/browser/extensions/api/settings_private/prefs_util.cc

Issue 2066123002: [MD settings] set default fixed font size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/appearance_page/appearance_fonts_page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/settings_private/prefs_util.cc
diff --git a/chrome/browser/extensions/api/settings_private/prefs_util.cc b/chrome/browser/extensions/api/settings_private/prefs_util.cc
index 7ae64a898d4ff38807703982f52e1cd57ce996ce..b47fd523fdb08777d0e873ce553c93ae677d0bac 100644
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -73,6 +73,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetWhitelistedKeys() {
// Appearance settings.
(*s_whitelist)["extensions.theme.id"] =
settings_private::PrefType::PREF_TYPE_STRING;
+ (*s_whitelist)["webkit.webprefs.default_fixed_font_size"] =
+ settings_private::PrefType::PREF_TYPE_NUMBER;
(*s_whitelist)["webkit.webprefs.default_font_size"] =
settings_private::PrefType::PREF_TYPE_NUMBER;
(*s_whitelist)["webkit.webprefs.minimum_font_size"] =
« no previous file with comments | « no previous file | chrome/browser/resources/settings/appearance_page/appearance_fonts_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698