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

Side by Side Diff: chrome/browser/resources/options/font_settings.html

Issue 6155008: DOMUI: Implement the new Fonts and Encoding page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix 3. 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 id="font-settings" class="page hidden"> 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="fontSettingsStandard"></h3>
5 <div> 5 <div class="font-input-div">
6 <div> 6 <div>
7 <label style="display:inline;"> 7 <select class="font-input" i18n-options="fontSettingsFontList"
8 <span i18n-content="fontSettingsSerifLabel"></span> 8 pref="webkit.webprefs.serif_font_family"
9 <select id="fontSettingsSerifSelector" 9 metric="Options_ChangeSerifFont"></select>
10 i18n-options="fontSettingsFontList"
11 pref="webkit.webprefs.serif_font_family"
12 metric="Options_ChangeSerifFont"></select>
13 </label>
14 <label style="display:inline;">
15 <span i18n-content="fontSettingsSizeLabel"></span>
16 <select id="fontSettingsSerifSizeSelector"
17 i18n-options="fontSettingsFontSizeList"
18 pref="webkit.webprefs.default_font_size"
19 metric="Options_ChangeSerifFontSize"></select>
20 </label>
21 <div id="fontSettingsSerifPreview"></div>
22 </div> 10 </div>
23 <div> 11 <div>
24 <label style="display:inline;"> 12 <input id="serif-font-size" type="range" min="0" max="24"
25 <span i18n-content="fontSettingsSansSerifLabel"></span> 13 pref="webkit.webprefs.default_font_size" class="font-input">
26 <select id="fontSettingsSansSerifSelector" 14 <div>
27 i18n-options="fontSettingsFontList" 15 <span i18n-content="fontSettingsSizeTiny"></span>
28 pref="webkit.webprefs.sansserif_font_family" 16 <span i18n-content="fontSettingsSizeHuge" class="font-settings-huge">
29 metric="Options_ChangeSansSerifFont"></select> 17 </span>
30 </label> 18 </div>
31 <label style="display:inline;"> 19 </div>
32 <span i18n-content="fontSettingsSizeLabel"></span> 20 </div>
33 <select id="fontSettingsSansSerifSizeSelector" 21 <div id="serif-font-sample" class="font-sample-div"></div>
34 18n-options="fontSettingsFontSizeList" 22 </section>
35 pref="webkit.webprefs.default_font_size" 23 <section>
36 metric="Options_ChangeSansSerifFontSize"></select> 24 <h3 i18n-content="fontSettingsFixedWidth"></h3>
37 </label> 25 <div class="font-input-div">
38 <div id="fontSettingsSansSerifPreview"></div> 26 <div>
27 <select class="font-input" i18n-options="fontSettingsFontList"
28 pref="webkit.webprefs.fixed_font_family"
29 metric="Options_ChangeFixedFont"></select>
39 </div> 30 </div>
40 <div> 31 <div>
41 <label style="display:inline;"> 32 <input id="fixed-font-size" type="range" min="0" max="24"
42 <span i18n-content="fontSettingsFixedWidthLabel"></span> 33 pref="webkit.webprefs.default_fixed_font_size" class="font-input">
43 <select id="fontSettingsFixedWidthSelector" 34 <div>
44 i18n-options="fontSettingsFontList" 35 <span i18n-content="fontSettingsSizeTiny"></span>
45 pref="webkit.webprefs.fixed_font_family" 36 <span i18n-content="fontSettingsSizeHuge" class="font-settings-huge">
46 metric="Options_ChangeFixedFont"></select> 37 </span>
47 </label> 38 </div>
48 <label style="display:inline;"> 39 </div>
49 <span i18n-content="fontSettingsSizeLabel"></span> 40 </div>
50 <select id="fontSettingsFixedWidthSizeSelector" 41 <div id="fixed-font-sample" class="font-sample-div"></div>
51 i18n-options="fontSettingsFontSizeList" 42 </section>
52 pref="webkit.webprefs.default_fixed_font_size" 43 <section>
53 metric="Options_ChangeFixedFontSize"></select> 44 <h3 i18n-content="fontSettingsMinimumSize"></h3>
54 </label> 45 <div class="font-input-div">
55 <div id="fontSettingsFixedWidthPreview"></div> 46 <div>
47 <input id="minimum-font-size" type="range" min="0" max="12"
48 pref="webkit.webprefs.minimum_font_size" class="font-input">
49 <div>
50 <span i18n-content="fontSettingsSizeTiny"></span>
51 <span i18n-content="fontSettingsSizeHuge" class="font-settings-huge">
52 </span>
53 </div>
54 </div>
55 </div>
56 <div id="minimum-font-sample" class="font-sample-div"></div>
57 </section>
58 <section>
59 <h3 i18n-content="fontSettingsEncoding"></h3>
60 <div class="font-input-div">
61 <div>
62 <select class="font-input" i18n-options="fontSettingsEncodingList"
63 pref="intl.charset_default" metric="Options_ChangeFontEncoding">
64 </select>
56 </div> 65 </div>
57 </div> 66 </div>
58 </section> 67 </section>
59 <section>
60 <h3 i18n-content="fontSettingsMinimumSizeTitle"></h3>
61 <div>
62 <select id="fontSettingsMinimumSizeSelector"
63 i18n-options="fontSettingsMinimumFontSizeList"></select>
64 </div>
65 </section>
66 <section>
67 <h3 i18n-content="fontSettingsEncodingTitle"></h3>
68 <div>
69 <select id="fontSettingsEncodingSelector"
70 i18n-options="fontSettingsEncodingList"
71 pref="intl.charset_default"
72 metric="Options_ChangeFontEncoding"></select>
73 </div>
74 </section>
75 </div> 68 </div>
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/font_settings.css ('k') | chrome/browser/resources/options/font_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698