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

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

Issue 6150003: DOMUI: Implement the i18n-options attribute that allows the client to load (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit fix. Created 9 years, 11 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/options/font_settings.html
diff --git a/chrome/browser/resources/options/font_settings.html b/chrome/browser/resources/options/font_settings.html
index 24b080f20deb6d67e9aa66a6fd4e064a58516186..97ba0f7129560b966ec38a9ad76b633d5548d154 100644
--- a/chrome/browser/resources/options/font_settings.html
+++ b/chrome/browser/resources/options/font_settings.html
@@ -1,4 +1,4 @@
-<div class="page hidden" id="fontSettings">
+<div id="font-settings" class="page hidden">
<h1 i18n-content="fontSettingsTitle"></h1>
<section>
<h3 i18n-content="fontSettingsFontTitle"></h3>
@@ -7,12 +7,14 @@
<label style="display:inline;">
<span i18n-content="fontSettingsSerifLabel"></span>
<select id="fontSettingsSerifSelector"
+ i18n-options="fontSettingsFontList"
pref="webkit.webprefs.serif_font_family"
metric="Options_ChangeSerifFont"></select>
</label>
<label style="display:inline;">
<span i18n-content="fontSettingsSizeLabel"></span>
<select id="fontSettingsSerifSizeSelector"
+ i18n-options="fontSettingsFontSizeList"
pref="webkit.webprefs.default_font_size"
metric="Options_ChangeSerifFontSize"></select>
</label>
@@ -22,12 +24,14 @@
<label style="display:inline;">
<span i18n-content="fontSettingsSansSerifLabel"></span>
<select id="fontSettingsSansSerifSelector"
+ i18n-options="fontSettingsFontList"
pref="webkit.webprefs.sansserif_font_family"
metric="Options_ChangeSansSerifFont"></select>
</label>
<label style="display:inline;">
<span i18n-content="fontSettingsSizeLabel"></span>
<select id="fontSettingsSansSerifSizeSelector"
+ 18n-options="fontSettingsFontSizeList"
pref="webkit.webprefs.default_font_size"
metric="Options_ChangeSansSerifFontSize"></select>
</label>
@@ -37,12 +41,14 @@
<label style="display:inline;">
<span i18n-content="fontSettingsFixedWidthLabel"></span>
<select id="fontSettingsFixedWidthSelector"
+ i18n-options="fontSettingsFontList"
pref="webkit.webprefs.fixed_font_family"
metric="Options_ChangeFixedFont"></select>
</label>
<label style="display:inline;">
<span i18n-content="fontSettingsSizeLabel"></span>
<select id="fontSettingsFixedWidthSizeSelector"
+ i18n-options="fontSettingsFontSizeList"
pref="webkit.webprefs.default_fixed_font_size"
metric="Options_ChangeFixedFontSize"></select>
</label>
@@ -53,13 +59,16 @@
<section>
<h3 i18n-content="fontSettingsMinimumSizeTitle"></h3>
<div>
- <select id="fontSettingsMinimumSizeSelector"></select>
+ <select id="fontSettingsMinimumSizeSelector"
+ i18n-options="fontSettingsMinimumFontSizeList"></select>
</div>
</section>
<section>
<h3 i18n-content="fontSettingsEncodingTitle"></h3>
<div>
- <select id="fontSettingsEncodingSelector" pref="intl.charset_default"
+ <select id="fontSettingsEncodingSelector"
+ i18n-options="fontSettingsEncodingList"
+ pref="intl.charset_default"
metric="Options_ChangeFontEncoding"></select>
</div>
</section>
« no previous file with comments | « chrome/browser/resources/options/clear_browser_data_overlay.js ('k') | chrome/browser/resources/options/font_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698