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

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: rebase 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_NewTab">
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 id="old-startup-last-text" 64 <span id="old-startup-last-text"
65 i18n-content="startupShowLastSession"> 65 i18n-content="startupShowLastSession">
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 </div> 97 </div>
98 </div> 98 </div>
99 </if> 99 </if>
100 <if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'"> 100 <if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'">
101 <div> 101 <div>
102 <button id="themes-gallery" i18n-content="themesGallery"></button> 102 <button id="themes-gallery" i18n-content="themesGallery"></button>
103 <button id="themes-reset" i18n-content="themesReset"></button> 103 <button id="themes-reset" i18n-content="themesReset"></button>
104 </div> 104 </div>
105 </if> 105 </if>
106 <div> 106 <div>
107 <div class="checkbox"> 107 <div id="home-page-select-container">
108 <input id="toolbarShowHomeButton" pref="browser.show_home_button" 108 <label id="home-page-label" for="home-page-select"
109 metric="Options_Homepage_HomeButton" type="checkbox"> 109 i18n-content="homePage"></label>
110 <label id="home-page-label" for="toolbarShowHomeButton" 110 <select id="home-page-select">
111 i18n-content="toolbarShowHomeButton"> 111 <option value="none" i18n-content="homePageNone"></option>
112 </label> 112 <option value="ntp" i18n-content="homePageNtp"></option>
113 <button id="change-home-page" i18n-content="changeHomePage" 113 <option value="url"></option>
114 class="link-button"></button> 114 <option value="choose" i18n-content="homePageChoose"></option>
115 </select>
115 </div> 116 </div>
116 <div class="checkbox"> 117 <div class="checkbox">
117 <label> 118 <label>
118 <input id="toolbarShowBookmarksBar" 119 <input id="toolbarShowBookmarksBar"
119 pref="bookmark_bar.show_on_all_tabs" 120 pref="bookmark_bar.show_on_all_tabs"
120 metric="Options_ShowBookmarksBar" type="checkbox"> 121 metric="Options_ShowBookmarksBar" type="checkbox">
121 <span i18n-content="toolbarShowBookmarksBar"></span> 122 <span i18n-content="toolbarShowBookmarksBar"></span>
122 </label> 123 </label>
123 </div> 124 </div>
124 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> 125 <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
259 </if> 260 </if>
260 <if expr="pp_ifdef('chromeos')"> 261 <if expr="pp_ifdef('chromeos')">
261 <!-- This section is temporarily duplicated here for ChromeOS. --> 262 <!-- This section is temporarily duplicated here for ChromeOS. -->
262 <!-- TODO(csilv): Move to 'Under the Hood' for ChromeOS only. --> 263 <!-- TODO(csilv): Move to 'Under the Hood' for ChromeOS only. -->
263 <!-- http://crbug.com/110527 --> 264 <!-- http://crbug.com/110527 -->
264 <section id="startupSection"> 265 <section id="startupSection">
265 <h3 i18n-content="sectionTitleStartup"></h3> 266 <h3 i18n-content="sectionTitleStartup"></h3>
266 <div> 267 <div>
267 <div class="radio"> 268 <div class="radio">
268 <label> 269 <label>
269 <input type="radio" name="startup" value="0" 270 <input type="radio" name="startup" value="5"
270 pref="session.restore_on_startup" 271 pref="session.restore_on_startup"
271 metric="Options_Startup_Homepage"> 272 metric="Options_Startup_NewTab">
272 <span i18n-content="startupShowDefaultAndNewTab"></span> 273 <span i18n-content="startupShowDefaultAndNewTab"></span>
273 </label> 274 </label>
274 </div> 275 </div>
275 <div class="radio"> 276 <div class="radio">
276 <label> 277 <label>
277 <input type="radio" name="startup" value="1" 278 <input type="radio" name="startup" value="1"
278 pref="session.restore_on_startup" 279 pref="session.restore_on_startup"
279 metric="Options_Startup_LastSession"> 280 metric="Options_Startup_LastSession">
280 <span i18n-content="startupShowLastSession"></span> 281 <span i18n-content="startupShowLastSession"></span>
281 </label> 282 </label>
(...skipping 15 matching lines...) Expand all
297 </section> 298 </section>
298 </if> 299 </if>
299 <section> 300 <section>
300 <h3 i18n-content="sectionTitleAdvanced"></h3> 301 <h3 i18n-content="sectionTitleAdvanced"></h3>
301 <div> 302 <div>
302 <button id="advancedOptionsButton" 303 <button id="advancedOptionsButton"
303 i18n-content="advancedOptionsButtonTitle"></button> 304 i18n-content="advancedOptionsButtonTitle"></button>
304 </div> 305 </div>
305 </section> 306 </section>
306 </div> 307 </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