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

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

Issue 6672063: web-ui settings: Font setting fixes and improvements.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: code review fix Created 9 years, 9 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="fontSettingsPage"></h1> 2 <h1 i18n-content="fontSettingsPage"></h1>
3 <section> 3 <section>
4 <h3 i18n-content="fontSettingsStandard"></h3> 4 <h3 i18n-content="fontSettingsStandard"></h3>
5 <div class="font-input-div"> 5 <div class="font-input-div">
6 <div> 6 <div>
7 <select id="standard-font-family" class="font-input" dataType="string" 7 <select id="standard-font-family" class="font-input" dataType="string"
8 pref="webkit.webprefs.standard_font_family" 8 pref="webkit.webprefs.standard_font_family"
9 metric="Options_ChangeStandardFont" disabled></select> 9 metric="Options_ChangeStandardFont" disabled></select>
10 </div> 10 </div>
11 <div> 11 <div>
12 <input id="standard-font-size" type="range" min="0" max="24" 12 <input id="standard-font-size" type="range" min="0" max="24"
13 pref="webkit.webprefs.default_font_size"> 13 pref="webkit.webprefs.default_font_size">
14 <div> 14 <div>
15 <span i18n-content="fontSettingsSizeTiny"></span> 15 <span i18n-content="fontSettingsSizeTiny"></span>
16 <span i18n-content="fontSettingsSizeHuge" class="font-settings-huge"> 16 <span i18n-content="fontSettingsSizeHuge" class="font-settings-huge">
17 </span> 17 </span>
18 </div> 18 </div>
19 </div> 19 </div>
20 </div> 20 </div>
21 <div id="standard-font-sample" class="font-sample-div"></div> 21 <div id="standard-font-sample" class="font-sample-div"></div>
22 </section> 22 </section>
23 <section> 23 <section>
24 <h3 i18n-content="fontSettingsSerif"></h3>
25 <div class="font-input-div">
26 <div>
27 <select id="serif-font-family" class="font-input" dataType="string"
28 pref="webkit.webprefs.serif_font_family"
29 metric="Options_ChangeSerifFont" disabled></select>
30 </div>
31 </div>
32 <div id="serif-font-sample" class="font-sample-div"></div>
33 </section>
34 <section>
35 <h3 i18n-content="fontSettingsSansSerif"></h3>
36 <div class="font-input-div">
37 <div>
38 <select id="sans-serif-font-family" class="font-input" dataType="string"
39 pref="webkit.webprefs.sans_serif_font_family"
40 metric="Options_ChangeSansSerifFont" disabled></select>
41 </div>
42 </div>
43 <div id="sans-serif-font-sample" class="font-sample-div"></div>
44 </section>
45 <section>
24 <h3 i18n-content="fontSettingsFixedWidth"></h3> 46 <h3 i18n-content="fontSettingsFixedWidth"></h3>
25 <div class="font-input-div"> 47 <div class="font-input-div">
26 <div> 48 <div>
27 <select id="fixed-font-family" class="font-input" dataType="string" 49 <select id="fixed-font-family" class="font-input" dataType="string"
28 pref="webkit.webprefs.fixed_font_family" 50 pref="webkit.webprefs.fixed_font_family"
29 metric="Options_ChangeFixedFont" disabled></select> 51 metric="Options_ChangeFixedFont" disabled></select>
30 </div> 52 </div>
31 <div>
32 <input id="fixed-font-size" type="range" min="0" max="24"
33 pref="webkit.webprefs.default_fixed_font_size">
34 <div>
35 <span i18n-content="fontSettingsSizeTiny"></span>
36 <span i18n-content="fontSettingsSizeHuge" class="font-settings-huge">
37 </span>
38 </div>
39 </div>
40 </div> 53 </div>
41 <div id="fixed-font-sample" class="font-sample-div"></div> 54 <div id="fixed-font-sample" class="font-sample-div"></div>
42 </section> 55 </section>
43 <section> 56 <section>
44 <h3 i18n-content="fontSettingsMinimumSize"></h3> 57 <h3 i18n-content="fontSettingsMinimumSize"></h3>
45 <div class="font-input-div"> 58 <div class="font-input-div">
46 <div> 59 <div>
47 <input id="minimum-font-size" type="range" min="0" max="15" 60 <input id="minimum-font-size" type="range" min="0" max="15"
48 pref="webkit.webprefs.minimum_font_size"> 61 pref="webkit.webprefs.minimum_font_size">
49 <div> 62 <div>
50 <span i18n-content="fontSettingsSizeTiny"></span> 63 <span i18n-content="fontSettingsSizeTiny"></span>
51 <span i18n-content="fontSettingsSizeHuge" class="font-settings-huge"> 64 <span i18n-content="fontSettingsSizeHuge" class="font-settings-huge">
52 </span> 65 </span>
53 </div> 66 </div>
54 </div> 67 </div>
55 </div> 68 </div>
56 <div id="minimum-font-sample"></div> 69 <div id="minimum-font-sample"></div>
57 </section> 70 </section>
58 <section> 71 <section>
59 <h3 i18n-content="fontSettingsEncoding"></h3> 72 <h3 i18n-content="fontSettingsEncoding"></h3>
60 <div class="font-input-div"> 73 <div class="font-input-div">
61 <div> 74 <div>
62 <select id="font-encoding" dataType="string" 75 <select id="font-encoding" dataType="string"
63 pref="intl.charset_default" metric="Options_ChangeFontEncoding" 76 pref="intl.charset_default" metric="Options_ChangeFontEncoding"
64 disabled></select> 77 disabled></select>
65 </div> 78 </div>
66 </div> 79 </div>
67 </section> 80 </section>
68 </div> 81 </div>
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/advanced_options.js ('k') | chrome/browser/resources/options/font_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698