OLD | NEW |
1 <div id="browserPage" class="page" hidden> | 1 <div id="settings" class="page" hidden> |
2 <header> | 2 <header> |
3 <h1 i18n-content="browserPage"></h1> | 3 <h1 i18n-content="settingsTitle"></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> |
11 <if expr="not pp_ifdef('chromeos')"> | 11 <if expr="not pp_ifdef('chromeos')"> |
12 <section id="sync-section"> | 12 <section id="sync-section"> |
13 <h3 i18n-content="sectionTitleSync"></h3> | 13 <h3 i18n-content="sectionTitleSync"></h3> |
14 <div id="sync-overview" class="section-description" hidden> | 14 <div id="sync-overview" class="section-description" hidden> |
15 <p i18n-content="syncOverview"></p> | 15 <p i18n-content="syncOverview"></p> |
16 <a i18n-values="href:syncLearnMoreURL" i18n-content="learnMore" | 16 <a i18n-values="href:syncLearnMoreURL" i18n-content="learnMore" |
17 target="_blank"></a> | 17 target="_blank"> |
| 18 </a> |
18 </div> | 19 </div> |
19 <div id="sync-status" hidden> | 20 <div id="sync-status" hidden> |
20 <span id="sync-status-text"></span> | 21 <span id="sync-status-text"></span> |
21 <button id="sync-action-link" class="link-button"></button> | 22 <button id="sync-action-link" class="link-button"></button> |
22 </div> | 23 </div> |
23 <div id="sync-buttons"> | 24 <div id="sync-buttons"> |
24 <button id="start-stop-sync" hidden></button> | 25 <button id="start-stop-sync" hidden></button> |
25 <button id="customize-sync" i18n-content="customizeSync" hidden> | 26 <button id="customize-sync" i18n-content="customizeSync" hidden> |
26 </button> | 27 </button> |
27 <div id="enable-auto-login-checkbox" class="checkbox" hidden> | 28 <div id="enable-auto-login-checkbox" class="checkbox" hidden> |
28 <label> | 29 <label> |
29 <input id="enable-auto-login" pref="autologin.enabled" | 30 <input id="enable-auto-login" pref="autologin.enabled" |
30 metric="Options_Autologin" type="checkbox"> | 31 metric="Options_Autologin" type="checkbox"> |
31 <span i18n-content="autologinEnabled"></span> | 32 <span i18n-content="autologinEnabled"></span> |
32 </label> | 33 </label> |
33 </div> | 34 </div> |
34 </div> | 35 </div> |
35 </section> | 36 </section> |
36 </if> | 37 </if> |
37 <if expr="pp_ifdef('chromeos')"> | 38 <if expr="pp_ifdef('chromeos')"> |
38 <section> | 39 <section> |
39 <h3 i18n-content="sectionTitleInternet"></h3> | 40 <h3 i18n-content="sectionTitleInternet"></h3> |
40 <div> | 41 <div> |
41 <button id="internet-options-button" | 42 <button id="internet-options-button" |
42 i18n-content="internetOptionsButtonTitle"></button> | 43 i18n-content="internetOptionsButtonTitle"> |
| 44 </button> |
43 </div> | 45 </div> |
44 </section> | 46 </section> |
45 </if> | 47 </if> |
46 <if expr="not pp_ifdef('chromeos')"> | 48 <if expr="not pp_ifdef('chromeos')"> |
47 <!-- This section is temporarily duplicated down below for ChromeOS. --> | 49 <!-- This section is temporarily duplicated down below for ChromeOS. --> |
48 <section id="startupSection"> | 50 <section id="startup-section"> |
49 <h3 i18n-content="sectionTitleStartup"></h3> | 51 <h3 i18n-content="sectionTitleStartup"></h3> |
50 <div> | 52 <div> |
51 <div class="radio"> | 53 <div class="radio"> |
52 <label> | 54 <label> |
53 <input type="radio" name="startup" value="0" | 55 <input type="radio" name="startup" value="0" |
54 pref="session.restore_on_startup" | 56 pref="session.restore_on_startup" |
55 metric="Options_Startup_Homepage"> | 57 metric="Options_Startup_Homepage"> |
56 <span i18n-content="startupShowDefaultAndNewTab"></span> | 58 <span i18n-content="startupShowDefaultAndNewTab"></span> |
57 </label> | 59 </label> |
58 </div> | 60 </div> |
59 <div class="radio"> | 61 <div class="radio"> |
60 <label> | 62 <label> |
61 <input type="radio" name="startup" value="1" | 63 <input type="radio" name="startup" value="1" |
62 pref="session.restore_on_startup" | 64 pref="session.restore_on_startup" |
63 metric="Options_Startup_LastSession"> | 65 metric="Options_Startup_LastSession"> |
64 <span i18n-content="startupShowLastSession"></span> | 66 <span i18n-content="startupShowLastSession"></span> |
65 </label> | 67 </label> |
66 </div> | 68 </div> |
67 <div class="radio"> | 69 <div class="radio"> |
68 <label> | 70 <label> |
69 <input id="startupShowPagesButton" type="radio" name="startup" | 71 <input id="startup-show-pages" type="radio" name="startup" |
70 pref="session.restore_on_startup" | 72 pref="session.restore_on_startup" |
71 value="4" metric="Options_Startup_Custom"> | 73 value="4" metric="Options_Startup_Custom"> |
72 <span> | 74 <span> |
73 <span id="startupShowPagesLabel" | 75 <span i18n-content="startupShowPages"></span> |
74 i18n-content="startupShowPages"></span> | 76 <button id="startup-set-pages" class="link-button" |
75 <button id="startupSetPages" class="link-button" | |
76 i18n-content="startupSetPages"></button> | 77 i18n-content="startupSetPages"></button> |
77 </span> | 78 </span> |
78 </label> | 79 </label> |
79 </div> | 80 </div> |
80 </div> | 81 </div> |
81 </section> | 82 </section> |
82 </if> | 83 </if> |
83 <section> | 84 <section> |
84 <h3 i18n-content="sectionTitleAppearance"></h3> | 85 <h3 i18n-content="sectionTitleAppearance"></h3> |
85 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> | 86 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> |
86 <div> | 87 <div> |
87 <div> | 88 <button id="themes-gallery" i18n-content="themesGallery"></button> |
88 <button id="themes-gallery" i18n-content="themesGallery"></button> | 89 <button id="themes-GTK-button" |
89 <button id="themes-GTK-button" | 90 i18n-content="themesGTKButton"></button> |
90 i18n-content="themesGTKButton"></button> | 91 <button id="themes-reset" |
91 <button id="themes-reset" | 92 i18n-content="themesSetClassic"></button> |
92 i18n-content="themesSetClassic"></button> | |
93 </div> | |
94 </div> | 93 </div> |
95 </if> | 94 </if> |
96 <if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'"> | 95 <if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'"> |
97 <div> | 96 <div> |
98 <button id="themes-gallery" i18n-content="themesGallery"></button> | 97 <button id="themes-gallery" i18n-content="themesGallery"></button> |
99 <button id="themes-reset" i18n-content="themesReset"></button> | 98 <button id="themes-reset" i18n-content="themesReset"></button> |
100 </div> | 99 </div> |
101 </if> | 100 </if> |
102 <div> | 101 <div> |
103 <div class="checkbox"> | 102 <div class="checkbox"> |
104 <input id="toolbarShowHomeButton" pref="browser.show_home_button" | 103 <input id="toolbar-show-home-button" pref="browser.show_home_button" |
105 metric="Options_Homepage_HomeButton" type="checkbox"> | 104 metric="Options_Homepage_HomeButton" type="checkbox"> |
106 <label id="home-page-label" for="toolbarShowHomeButton" | 105 <label id="home-page-label" for="toolbar-show-home-button" |
107 i18n-content="toolbarShowHomeButton"> | 106 i18n-content="toolbarShowHomeButton"> |
108 </label> | 107 </label> |
109 <button id="change-home-page" i18n-content="changeHomePage" | 108 <button id="change-home-page" i18n-content="changeHomePage" |
110 class="link-button"></button> | 109 class="link-button"> |
| 110 </button> |
111 </div> | 111 </div> |
112 <div class="checkbox"> | 112 <div class="checkbox"> |
113 <label> | 113 <label> |
114 <input id="toolbarShowBookmarksBar" | 114 <input type="checkbox" pref="bookmark_bar.show_on_all_tabs" |
115 pref="bookmark_bar.show_on_all_tabs" | 115 metric="Options_ShowBookmarksBar"> |
116 metric="Options_ShowBookmarksBar" type="checkbox"> | |
117 <span i18n-content="toolbarShowBookmarksBar"></span> | 116 <span i18n-content="toolbarShowBookmarksBar"></span> |
118 </label> | 117 </label> |
119 </div> | 118 </div> |
120 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> | 119 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> |
121 <div class="checkbox"> | 120 <div class="checkbox"> |
122 <label> | 121 <label> |
123 <input id="show-window-decorations" type="checkbox" | 122 <input id="show-window-decorations" type="checkbox" |
124 pref="browser.custom_chrome_frame" metric="Options_CustomFrame" | 123 pref="browser.custom_chrome_frame" metric="Options_CustomFrame" |
125 inverted_pref> | 124 inverted_pref> |
126 <span i18n-content="showWindowDecorations"></span> | 125 <span i18n-content="showWindowDecorations"></span> |
(...skipping 12 matching lines...) Expand all Loading... |
139 <input id="sensitivity-range" type="range" min="1" max="5" | 138 <input id="sensitivity-range" type="range" min="1" max="5" |
140 pref="settings.touchpad.sensitivity2" class="touch-slider"> | 139 pref="settings.touchpad.sensitivity2" class="touch-slider"> |
141 <div> | 140 <div> |
142 <span i18n-content="pointerSensitivityLess"></span> | 141 <span i18n-content="pointerSensitivityLess"></span> |
143 <span id="pointer-sensitivity-more" | 142 <span id="pointer-sensitivity-more" |
144 i18n-content="pointerSensitivityMore"></span> | 143 i18n-content="pointerSensitivityMore"></span> |
145 </div> | 144 </div> |
146 </div> | 145 </div> |
147 </div> | 146 </div> |
148 <button id="pointer-settings-button" | 147 <button id="pointer-settings-button" |
149 i18n-content="pointerSettingsButtonTitle" hidden></button> | 148 i18n-content="pointerSettingsButtonTitle" hidden> |
| 149 </button> |
150 </div> | 150 </div> |
151 <div> | 151 <div> |
152 <span i18n-content="deviceGroupKeyboard"></span> | 152 <span i18n-content="deviceGroupKeyboard"></span> |
153 <button id="keyboard-settings-button" | 153 <button id="keyboard-settings-button" |
154 i18n-content="keyboardSettingsButtonTitle"></button> | 154 i18n-content="keyboardSettingsButtonTitle"> |
| 155 </button> |
155 </div> | 156 </div> |
156 <div id="brightness-value"> | 157 <div id="brightness-value"> |
157 <span i18n-content="deviceGroupBrightness"></span> | 158 <span i18n-content="deviceGroupBrightness"></span> |
158 <button id="brightness-decrease-button" | 159 <button id="brightness-decrease-button" |
159 i18n-content="brightnessDecrease"></button> | 160 i18n-content="brightnessDecrease"> |
| 161 </button> |
160 <button id="brightness-increase-button" | 162 <button id="brightness-increase-button" |
161 i18n-content="brightnessIncrease"></button> | 163 i18n-content="brightnessIncrease"> |
| 164 </button> |
162 </div> | 165 </div> |
163 </section> | 166 </section> |
164 </if> | 167 </if> |
165 <section> | 168 <section> |
166 <h3 i18n-content="sectionTitleSearch"></h3> | 169 <h3 i18n-content="sectionTitleSearch"></h3> |
167 <div id="defaultSearchEngineGroup"> | 170 <div id="default-search-engine-group"> |
168 <div id="defaultSearchGroupLabel" | 171 <div id="default-search-group-label" |
169 i18n-values=".innerHTML:defaultSearchGroupLabel"></div> | 172 i18n-values=".innerHTML:defaultSearchGroupLabel"> |
| 173 </div> |
170 <div> | 174 <div> |
171 <select id="defaultSearchEngine" class="weakrtl"></select> | 175 <select id="default-search-engine" class="weakrtl"></select> |
172 <button id="defaultSearchManageEnginesButton" | 176 <button id="defaultSearchManageEnginesButton" |
173 i18n-content="defaultSearchManageEngines"></button> | 177 i18n-content="defaultSearchManageEngines"> |
| 178 </button> |
174 </div> | 179 </div> |
175 <div id="instantOption" class="checkbox"> | 180 <div id="instant-setting" class="checkbox"> |
176 <label id="instantLabel"> | 181 <label id="instant-label"> |
177 <!-- TODO(estade): metric? --> | 182 <!-- TODO(estade): metric? --> |
178 <input id="instantFieldTrialCheckbox" type="checkbox" | 183 <input id="instant-field-trial-control" type="checkbox" |
179 checked="checked" hidden> | 184 checked="checked" hidden> |
180 <input id="instantEnabledCheckbox" type="checkbox" | 185 <input id="instant-enabled-control" type="checkbox" |
181 pref="instant.enabled"> | 186 pref="instant.enabled"> |
182 <span i18n-values=".innerHTML:instantPrefAndWarning"></span> | 187 <span i18n-values=".innerHTML:instantPrefAndWarning"></span> |
183 </label> | 188 </label> |
184 </div> | 189 </div> |
185 </div> | 190 </div> |
186 </section> | 191 </section> |
187 <section> | 192 <section> |
188 <h3 i18n-content="sectionTitleUsers"></h3> | 193 <h3 i18n-content="sectionTitleUsers"></h3> |
189 <if expr="pp_ifdef('chromeos')"> | 194 <if expr="pp_ifdef('chromeos')"> |
190 <div id="sync-section"> | 195 <div id="sync-section"> |
(...skipping 17 matching lines...) Expand all Loading... |
208 <label> | 213 <label> |
209 <input id="enable-screen-lock" type="checkbox" | 214 <input id="enable-screen-lock" type="checkbox" |
210 pref="settings.enable_screen_lock"> | 215 pref="settings.enable_screen_lock"> |
211 <span i18n-content="enableScreenlock"></span> | 216 <span i18n-content="enableScreenlock"></span> |
212 </label> | 217 </label> |
213 </div> | 218 </div> |
214 <button id="change-picture-button" i18n-content="changePicture"> | 219 <button id="change-picture-button" i18n-content="changePicture"> |
215 </button> | 220 </button> |
216 <button id="start-stop-sync" hidden></button> | 221 <button id="start-stop-sync" hidden></button> |
217 <button id="customize-sync" i18n-content="customizeSync" hidden> | 222 <button id="customize-sync" i18n-content="customizeSync" hidden> |
| 223 </button> |
218 <button id="manage-accounts-button" | 224 <button id="manage-accounts-button" |
219 i18n-content="manageAccountsButtonTitle"></button> | 225 i18n-content="manageAccountsButtonTitle"> |
220 </button> | 226 </button> |
221 </div> | 227 </div> |
222 </div> | 228 </div> |
223 </if> | 229 </if> |
224 <div id="profiles-section" hidden> | 230 <div id="profiles-section" hidden> |
225 <list id="profiles-list" class="settings-list" hidden></list> | 231 <list id="profiles-list" class="settings-list" hidden></list> |
226 <div id="profiles-single-message" i18n-content="profilesSingleUser"> | 232 <div id="profiles-single-message" i18n-content="profilesSingleUser"> |
227 </div> | 233 </div> |
228 <div id="profiles-buttons"> | 234 <div id="profiles-buttons"> |
229 <button id="profiles-create" i18n-content="profilesCreate"></button> | 235 <button id="profiles-create" i18n-content="profilesCreate"></button> |
230 <button id="profiles-manage" i18n-content="profilesManage" disabled> | 236 <button id="profiles-manage" i18n-content="profilesManage" disabled> |
231 </button> | 237 </button> |
232 <button id="profiles-delete" i18n-content="profilesDelete"> | 238 <button id="profiles-delete" i18n-content="profilesDelete"> |
233 </button> | 239 </button> |
234 </div> | 240 </div> |
235 </div> | 241 </div> |
236 <if expr="not pp_ifdef('chromeos')"> | 242 <if expr="not pp_ifdef('chromeos')"> |
237 <div id="manage-data-group"> | 243 <div id="manage-data-group"> |
238 <div i18n-content="manageDataDescription"></div> | 244 <div i18n-content="manageDataDescription"></div> |
239 <div> | 245 <div> |
240 <button id="import-data" i18n-content="importData"></button> | 246 <button id="import-data" i18n-content="importData"></button> |
241 </div> | 247 </div> |
242 </div> | 248 </div> |
243 </if> | 249 </if> |
244 </section> | 250 </section> |
245 <if expr="not pp_ifdef('chromeos')"> | 251 <if expr="not pp_ifdef('chromeos')"> |
246 <section> | 252 <section> |
247 <h3 i18n-content="sectionTitleDefaultBrowser"></h3> | 253 <h3 i18n-content="sectionTitleDefaultBrowser"></h3> |
248 <div> | 254 <div> |
249 <button id="defaultBrowserUseAsDefaultButton" | 255 <button id="set-as-default-browser" |
250 i18n-content="defaultBrowserUseAsDefault" hidden></button> | 256 i18n-content="defaultBrowserUseAsDefault" hidden> |
251 <div id="defaultBrowserState" | 257 </button> |
252 i18n-content="defaultBrowserUnknown"></div> | 258 <div id="default-browser-state" i18n-content="defaultBrowserUnknown"> |
| 259 </div> |
253 </div> | 260 </div> |
254 </section> | 261 </section> |
255 </if> | 262 </if> |
256 <if expr="pp_ifdef('chromeos')"> | 263 <if expr="pp_ifdef('chromeos')"> |
257 <!-- This section is temporarily duplicated here for ChromeOS. --> | 264 <!-- This section is temporarily duplicated here for ChromeOS. --> |
258 <!-- TODO(csilv): Move to 'Under the Hood' for ChromeOS only. --> | 265 <!-- TODO(csilv): Move to 'Under the Hood' for ChromeOS only. --> |
259 <!-- http://crbug.com/110527 --> | 266 <!-- http://crbug.com/110527 --> |
260 <section id="startupSection"> | 267 <section id="startup-section"> |
261 <h3 i18n-content="sectionTitleStartup"></h3> | 268 <h3 i18n-content="sectionTitleStartup"></h3> |
262 <div> | 269 <div> |
263 <div class="radio"> | 270 <div class="radio"> |
264 <label> | 271 <label> |
265 <input type="radio" name="startup" value="0" | 272 <input type="radio" name="startup" value="0" |
266 pref="session.restore_on_startup" | 273 pref="session.restore_on_startup" |
267 metric="Options_Startup_Homepage"> | 274 metric="Options_Startup_Homepage"> |
268 <span i18n-content="startupShowDefaultAndNewTab"></span> | 275 <span i18n-content="startupShowDefaultAndNewTab"></span> |
269 </label> | 276 </label> |
270 </div> | 277 </div> |
271 <div class="radio"> | 278 <div class="radio"> |
272 <label> | 279 <label> |
273 <input type="radio" name="startup" value="1" | 280 <input type="radio" name="startup" value="1" |
274 pref="session.restore_on_startup" | 281 pref="session.restore_on_startup" |
275 metric="Options_Startup_LastSession"> | 282 metric="Options_Startup_LastSession"> |
276 <span i18n-content="startupShowLastSession"></span> | 283 <span i18n-content="startupShowLastSession"></span> |
277 </label> | 284 </label> |
278 </div> | 285 </div> |
279 <div class="radio"> | 286 <div class="radio"> |
280 <label> | 287 <label> |
281 <input id="startupShowPagesButton" type="radio" name="startup" | 288 <input id="startup-show-pages" type="radio" name="startup" |
282 pref="session.restore_on_startup" | 289 pref="session.restore_on_startup" |
283 value="4" metric="Options_Startup_Custom"> | 290 value="4" metric="Options_Startup_Custom"> |
284 <span> | 291 <span> |
285 <span id="startupShowPagesLabel" | 292 <span id="startupShowPagesLabel" |
286 i18n-content="startupShowPages"></span> | 293 i18n-content="startupShowPages"> |
287 <button id="startupSetPages" class="link-button" | 294 </span> |
288 i18n-content="startupSetPages"></button> | 295 <button id="startup-set-pages" class="link-button" |
| 296 i18n-content="startupSetPages"> |
| 297 </button> |
289 </span> | 298 </span> |
290 </label> | 299 </label> |
291 </div> | 300 </div> |
292 </div> | 301 </div> |
293 </section> | 302 </section> |
294 </if> | 303 </if> |
295 <section> | 304 <section> |
296 <h3 i18n-content="sectionTitleAdvanced"></h3> | 305 <h3 i18n-content="sectionTitleAdvanced"></h3> |
297 <div> | 306 <div> |
298 <button id="advancedOptionsButton" | 307 <button id="advanced-settings" |
299 i18n-content="advancedOptionsButtonTitle"></button> | 308 i18n-content="advancedSettings"> |
| 309 </button> |
300 </div> | 310 </div> |
301 </section> | 311 </section> |
302 </div> | 312 </div> |
OLD | NEW |