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

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

Issue 8895023: Options2: Pull the trigger. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DIAF. Created 9 years 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
new file mode 100644
index 0000000000000000000000000000000000000000..c025230bcbb3b0e59554df19d732bc10c6658c1a
--- /dev/null
+++ b/chrome/browser/resources/options2/font_settings.html
@@ -0,0 +1,82 @@
+<div id="font-settings" class="page" hidden>
+ <h1 i18n-content="fontSettingsPage"></h1>
+ <section>
+ <h3 i18n-content="fontSettingsStandard"></h3>
+ <div class="font-input-div">
+ <div>
+ <select id="standard-font-family" class="font-input" data-type="string"
+ pref="webkit.webprefs.standard_font_family"
+ metric="Options_ChangeStandardFont"></select>
+ </div>
+ <div>
+ <input id="standard-font-size" type="range" min="0" max="24"
+ pref="webkit.webprefs.default_font_size">
+ <div>
+ <span i18n-content="fontSettingsSizeTiny"></span>
+ <span i18n-content="fontSettingsSizeHuge" class="font-settings-huge">
+ </span>
+ </div>
+ </div>
+ </div>
+ <div id="standard-font-sample" class="font-sample-div"></div>
+ </section>
+ <section>
+ <h3 i18n-content="fontSettingsSerif"></h3>
+ <div class="font-input-div">
+ <div>
+ <select id="serif-font-family" class="font-input" data-type="string"
+ pref="webkit.webprefs.serif_font_family"
+ metric="Options_ChangeSerifFont"></select>
+ </div>
+ </div>
+ <div id="serif-font-sample" class="font-sample-div"></div>
+ </section>
+ <section>
+ <h3 i18n-content="fontSettingsSansSerif"></h3>
+ <div class="font-input-div">
+ <div>
+ <select id="sans-serif-font-family" class="font-input"
+ data-type="string"
+ pref="webkit.webprefs.sansserif_font_family"
+ metric="Options_ChangeSansSerifFont"></select>
+ </div>
+ </div>
+ <div id="sans-serif-font-sample" class="font-sample-div"></div>
+ </section>
+ <section>
+ <h3 i18n-content="fontSettingsFixedWidth"></h3>
+ <div class="font-input-div">
+ <div>
+ <select id="fixed-font-family" class="font-input" data-type="string"
+ pref="webkit.webprefs.fixed_font_family"
+ metric="Options_ChangeFixedFont"></select>
+ </div>
+ </div>
+ <div id="fixed-font-sample" class="font-sample-div"></div>
+ </section>
+ <section>
+ <h3 i18n-content="fontSettingsMinimumSize"></h3>
+ <div class="font-input-div">
+ <div>
+ <input id="minimum-font-size" type="range" min="0" max="15"
+ pref="webkit.webprefs.minimum_font_size">
+ <div>
+ <span i18n-content="fontSettingsSizeTiny"></span>
+ <span i18n-content="fontSettingsSizeHuge" class="font-settings-huge">
+ </span>
+ </div>
+ </div>
+ </div>
+ <div id="minimum-font-sample" class="font-sample-div"></div>
+ </section>
+ <section>
+ <h3 i18n-content="fontSettingsEncoding"></h3>
+ <div class="font-input-div">
+ <div>
+ <select id="font-encoding" data-type="string"
+ pref="intl.charset_default"
+ metric="Options_ChangeFontEncoding"></select>
+ </div>
+ </div>
+ </section>
+</div>
« no previous file with comments | « chrome/browser/resources/options2/font_settings.css ('k') | chrome/browser/resources/options2/font_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698