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

Side by Side Diff: chrome/browser/resources/options2/browser_options.html

Issue 9296038: [uber] Redoing the homepage selection UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CSS spacing + copy value change to chromeos section Created 8 years, 10 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="browserPage" class="page" hidden> 1 <div id="browserPage" class="page" hidden>
2 <header> 2 <header>
3 <h1 i18n-content="browserPage"></h1> 3 <h1 i18n-content="browserPage"></h1>
4 <span id="browser-options-search-field-container" 4 <span id="browser-options-search-field-container"
5 class="search-field-container"> 5 class="search-field-container">
6 <input id="search-field" type="search" 6 <input id="search-field" type="search"
7 i18n-values="placeholder:searchPlaceholder; 7 i18n-values="placeholder:searchPlaceholder;
8 aria-label:searchPlaceholder" incremental> 8 aria-label:searchPlaceholder" incremental>
9 </span> 9 </span>
10 </header> 10 </header>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 </div> 43 </div>
44 </section> 44 </section>
45 </if> 45 </if>
46 <if expr="not pp_ifdef('chromeos')"> 46 <if expr="not pp_ifdef('chromeos')">
47 <!-- This section is temporarily duplicated down below for ChromeOS. --> 47 <!-- This section is temporarily duplicated down below for ChromeOS. -->
48 <section id="startupSection"> 48 <section id="startupSection">
49 <h3 i18n-content="sectionTitleStartup"></h3> 49 <h3 i18n-content="sectionTitleStartup"></h3>
50 <div> 50 <div>
51 <div class="radio"> 51 <div class="radio">
52 <label> 52 <label>
53 <input type="radio" name="startup" value="0" 53 <input type="radio" name="startup" value="5"
54 pref="session.restore_on_startup" 54 pref="session.restore_on_startup"
55 metric="Options_Startup_Homepage"> 55 metric="Options_Startup_Homepage">
Tyler Breisacher (Chromium) 2012/02/03 01:57:41 Sorry, noticed one more thing. This metric no long
56 <span i18n-content="startupShowDefaultAndNewTab"></span> 56 <span i18n-content="startupShowDefaultAndNewTab"></span>
57 </label> 57 </label>
58 </div> 58 </div>
59 <div class="radio"> 59 <div class="radio">
60 <label> 60 <label>
61 <input type="radio" name="startup" value="1" 61 <input type="radio" name="startup" value="1"
62 pref="session.restore_on_startup" 62 pref="session.restore_on_startup"
63 metric="Options_Startup_LastSession"> 63 metric="Options_Startup_LastSession">
64 <span i18n-content="startupShowLastSession"></span> 64 <span i18n-content="startupShowLastSession"></span>
65 </label> 65 </label>
(...skipping 27 matching lines...) Expand all
93 </div> 93 </div>
94 </div> 94 </div>
95 </if> 95 </if>
96 <if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'"> 96 <if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'">
97 <div> 97 <div>
98 <button id="themes-gallery" i18n-content="themesGallery"></button> 98 <button id="themes-gallery" i18n-content="themesGallery"></button>
99 <button id="themes-reset" i18n-content="themesReset"></button> 99 <button id="themes-reset" i18n-content="themesReset"></button>
100 </div> 100 </div>
101 </if> 101 </if>
102 <div> 102 <div>
103 <div class="checkbox"> 103 <div id="home-page-select-container">
104 <input id="toolbarShowHomeButton" pref="browser.show_home_button" 104 <label id="home-page-label" for="home-page-select"
105 metric="Options_Homepage_HomeButton" type="checkbox"> 105 i18n-content="homePage"></label>
106 <label id="home-page-label" for="toolbarShowHomeButton" 106 <select id="home-page-select">
107 i18n-content="toolbarShowHomeButton"> 107 <option value="none" i18n-content="homePageNone"></option>
108 </label> 108 <option value="ntp" i18n-content="homePageNtp"></option>
109 <button id="change-home-page" i18n-content="changeHomePage" 109 <option value="url"></option>
110 class="link-button"></button> 110 <option value="choose" i18n-content="homePageChoose"></option>
111 </select>
111 </div> 112 </div>
112 <div class="checkbox"> 113 <div class="checkbox">
113 <label> 114 <label>
114 <input id="toolbarShowBookmarksBar" 115 <input id="toolbarShowBookmarksBar"
115 pref="bookmark_bar.show_on_all_tabs" 116 pref="bookmark_bar.show_on_all_tabs"
116 metric="Options_ShowBookmarksBar" type="checkbox"> 117 metric="Options_ShowBookmarksBar" type="checkbox">
117 <span i18n-content="toolbarShowBookmarksBar"></span> 118 <span i18n-content="toolbarShowBookmarksBar"></span>
118 </label> 119 </label>
119 </div> 120 </div>
120 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> 121 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx">
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 </if> 256 </if>
256 <if expr="pp_ifdef('chromeos')"> 257 <if expr="pp_ifdef('chromeos')">
257 <!-- This section is temporarily duplicated here for ChromeOS. --> 258 <!-- This section is temporarily duplicated here for ChromeOS. -->
258 <!-- TODO(csilv): Move to 'Under the Hood' for ChromeOS only. --> 259 <!-- TODO(csilv): Move to 'Under the Hood' for ChromeOS only. -->
259 <!-- http://crbug.com/110527 --> 260 <!-- http://crbug.com/110527 -->
260 <section id="startupSection"> 261 <section id="startupSection">
261 <h3 i18n-content="sectionTitleStartup"></h3> 262 <h3 i18n-content="sectionTitleStartup"></h3>
262 <div> 263 <div>
263 <div class="radio"> 264 <div class="radio">
264 <label> 265 <label>
265 <input type="radio" name="startup" value="0" 266 <input type="radio" name="startup" value="5"
266 pref="session.restore_on_startup" 267 pref="session.restore_on_startup"
267 metric="Options_Startup_Homepage"> 268 metric="Options_Startup_Homepage">
268 <span i18n-content="startupShowDefaultAndNewTab"></span> 269 <span i18n-content="startupShowDefaultAndNewTab"></span>
269 </label> 270 </label>
270 </div> 271 </div>
271 <div class="radio"> 272 <div class="radio">
272 <label> 273 <label>
273 <input type="radio" name="startup" value="1" 274 <input type="radio" name="startup" value="1"
274 pref="session.restore_on_startup" 275 pref="session.restore_on_startup"
275 metric="Options_Startup_LastSession"> 276 metric="Options_Startup_LastSession">
(...skipping 17 matching lines...) Expand all
293 </section> 294 </section>
294 </if> 295 </if>
295 <section> 296 <section>
296 <h3 i18n-content="sectionTitleAdvanced"></h3> 297 <h3 i18n-content="sectionTitleAdvanced"></h3>
297 <div> 298 <div>
298 <button id="advancedOptionsButton" 299 <button id="advancedOptionsButton"
299 i18n-content="advancedOptionsButtonTitle"></button> 300 i18n-content="advancedOptionsButtonTitle"></button>
300 </div> 301 </div>
301 </section> 302 </section>
302 </div> 303 </div>
OLDNEW
« no previous file with comments | « chrome/browser/resources/options2/browser_options.css ('k') | chrome/browser/resources/options2/browser_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698