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

Unified Diff: chrome/browser/resources/options2/font_settings.html

Issue 10107014: Migrate WebKit "global script" font prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 7 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
Index: chrome/browser/resources/options2/font_settings.html
diff --git a/chrome/browser/resources/options2/font_settings.html b/chrome/browser/resources/options2/font_settings.html
index 23b03efcecbf8fdafc38e2caa4e9d05c341cdaab..c49795c0f8455ca0de04bb26f5f28e954a1ec23a 100644
--- a/chrome/browser/resources/options2/font_settings.html
+++ b/chrome/browser/resources/options2/font_settings.html
@@ -9,7 +9,7 @@
<div>
<select id="standard-font-family" class="font-input"
data-type="string" metric="Options_ChangeStandardFont"
- pref="webkit.webprefs.global.standard_font_family">
+ pref="webkit.webprefs.fonts.standard.Zyyy">
</select>
</div>
<div>
@@ -32,7 +32,7 @@
<div class="font-input-div">
<div>
<select id="serif-font-family" class="font-input" data-type="string"
- pref="webkit.webprefs.global.serif_font_family"
+ pref="webkit.webprefs.fonts.serif.Zyyy"
metric="Options_ChangeSerifFont">
</select>
</div>
@@ -47,7 +47,7 @@
<div>
<select id="sans-serif-font-family" class="font-input"
data-type="string" metric="Options_ChangeSansSerifFont"
- pref="webkit.webprefs.global.sansserif_font_family">
+ pref="webkit.webprefs.fonts.sansserif.Zyyy">
</select>
</div>
</div>
@@ -60,7 +60,7 @@
<div class="font-input-div">
<div>
<select id="fixed-font-family" class="font-input" data-type="string"
- pref="webkit.webprefs.global.fixed_font_family"
+ pref="webkit.webprefs.fonts.fixed.Zyyy"
metric="Options_ChangeFixedFont">
</select>
</div>
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc ('k') | chrome/browser/ui/prefs/prefs_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698