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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <div class="page hidden" id="fontSettings"> 1 <div id="font-settings" class="page hidden">
2 <h1 i18n-content="fontSettingsTitle"></h1> 2 <h1 i18n-content="fontSettingsTitle"></h1>
3 <section> 3 <section>
4 <h3 i18n-content="fontSettingsFontTitle"></h3> 4 <h3 i18n-content="fontSettingsFontTitle"></h3>
5 <div> 5 <div>
6 <div> 6 <div>
7 <label style="display:inline;"> 7 <label style="display:inline;">
8 <span i18n-content="fontSettingsSerifLabel"></span> 8 <span i18n-content="fontSettingsSerifLabel"></span>
9 <select id="fontSettingsSerifSelector" 9 <select id="fontSettingsSerifSelector"
10 i18n-options="fontSettingsFontList"
10 pref="webkit.webprefs.serif_font_family" 11 pref="webkit.webprefs.serif_font_family"
11 metric="Options_ChangeSerifFont"></select> 12 metric="Options_ChangeSerifFont"></select>
12 </label> 13 </label>
13 <label style="display:inline;"> 14 <label style="display:inline;">
14 <span i18n-content="fontSettingsSizeLabel"></span> 15 <span i18n-content="fontSettingsSizeLabel"></span>
15 <select id="fontSettingsSerifSizeSelector" 16 <select id="fontSettingsSerifSizeSelector"
17 i18n-options="fontSettingsFontSizeList"
16 pref="webkit.webprefs.default_font_size" 18 pref="webkit.webprefs.default_font_size"
17 metric="Options_ChangeSerifFontSize"></select> 19 metric="Options_ChangeSerifFontSize"></select>
18 </label> 20 </label>
19 <div id="fontSettingsSerifPreview"></div> 21 <div id="fontSettingsSerifPreview"></div>
20 </div> 22 </div>
21 <div> 23 <div>
22 <label style="display:inline;"> 24 <label style="display:inline;">
23 <span i18n-content="fontSettingsSansSerifLabel"></span> 25 <span i18n-content="fontSettingsSansSerifLabel"></span>
24 <select id="fontSettingsSansSerifSelector" 26 <select id="fontSettingsSansSerifSelector"
27 i18n-options="fontSettingsFontList"
25 pref="webkit.webprefs.sansserif_font_family" 28 pref="webkit.webprefs.sansserif_font_family"
26 metric="Options_ChangeSansSerifFont"></select> 29 metric="Options_ChangeSansSerifFont"></select>
27 </label> 30 </label>
28 <label style="display:inline;"> 31 <label style="display:inline;">
29 <span i18n-content="fontSettingsSizeLabel"></span> 32 <span i18n-content="fontSettingsSizeLabel"></span>
30 <select id="fontSettingsSansSerifSizeSelector" 33 <select id="fontSettingsSansSerifSizeSelector"
34 18n-options="fontSettingsFontSizeList"
31 pref="webkit.webprefs.default_font_size" 35 pref="webkit.webprefs.default_font_size"
32 metric="Options_ChangeSansSerifFontSize"></select> 36 metric="Options_ChangeSansSerifFontSize"></select>
33 </label> 37 </label>
34 <div id="fontSettingsSansSerifPreview"></div> 38 <div id="fontSettingsSansSerifPreview"></div>
35 </div> 39 </div>
36 <div> 40 <div>
37 <label style="display:inline;"> 41 <label style="display:inline;">
38 <span i18n-content="fontSettingsFixedWidthLabel"></span> 42 <span i18n-content="fontSettingsFixedWidthLabel"></span>
39 <select id="fontSettingsFixedWidthSelector" 43 <select id="fontSettingsFixedWidthSelector"
44 i18n-options="fontSettingsFontList"
40 pref="webkit.webprefs.fixed_font_family" 45 pref="webkit.webprefs.fixed_font_family"
41 metric="Options_ChangeFixedFont"></select> 46 metric="Options_ChangeFixedFont"></select>
42 </label> 47 </label>
43 <label style="display:inline;"> 48 <label style="display:inline;">
44 <span i18n-content="fontSettingsSizeLabel"></span> 49 <span i18n-content="fontSettingsSizeLabel"></span>
45 <select id="fontSettingsFixedWidthSizeSelector" 50 <select id="fontSettingsFixedWidthSizeSelector"
51 i18n-options="fontSettingsFontSizeList"
46 pref="webkit.webprefs.default_fixed_font_size" 52 pref="webkit.webprefs.default_fixed_font_size"
47 metric="Options_ChangeFixedFontSize"></select> 53 metric="Options_ChangeFixedFontSize"></select>
48 </label> 54 </label>
49 <div id="fontSettingsFixedWidthPreview"></div> 55 <div id="fontSettingsFixedWidthPreview"></div>
50 </div> 56 </div>
51 </div> 57 </div>
52 </section> 58 </section>
53 <section> 59 <section>
54 <h3 i18n-content="fontSettingsMinimumSizeTitle"></h3> 60 <h3 i18n-content="fontSettingsMinimumSizeTitle"></h3>
55 <div> 61 <div>
56 <select id="fontSettingsMinimumSizeSelector"></select> 62 <select id="fontSettingsMinimumSizeSelector"
63 i18n-options="fontSettingsMinimumFontSizeList"></select>
57 </div> 64 </div>
58 </section> 65 </section>
59 <section> 66 <section>
60 <h3 i18n-content="fontSettingsEncodingTitle"></h3> 67 <h3 i18n-content="fontSettingsEncodingTitle"></h3>
61 <div> 68 <div>
62 <select id="fontSettingsEncodingSelector" pref="intl.charset_default" 69 <select id="fontSettingsEncodingSelector"
70 i18n-options="fontSettingsEncodingList"
71 pref="intl.charset_default"
63 metric="Options_ChangeFontEncoding"></select> 72 metric="Options_ChangeFontEncoding"></select>
64 </div> 73 </div>
65 </section> 74 </section>
66 </div> 75 </div>
OLDNEW
« 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