Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / options / browser_options.html
blob0aebe71a46978518cc946efdddf78411a972f614
1 <div id="settings" class="page" hidden>
2 <header>
3 <h1 i18n-content="settingsTitle"></h1>
4 </header>
5 <include src="reset_profile_settings_banner.html">
6 <include src="automatic_settings_reset_banner.html">
7 <if expr="chromeos">
8 <link rel="import" href="chrome://resources/cr_elements/v1_0/network/cr_network_icon.html">
9 <link rel="import" href="chrome://resources/cr_elements/v1_0/network/cr_onc_types.html">
10 <include src="secondary_user_banner.html">
11 <section>
12 <div id="network-section-header" class="section-header">
13 <h3 i18n-content="sectionTitleInternet"></h3>
14 <span class="controlled-setting-indicator" plural></span>
15 </div>
16 <div id="network-settings">
17 <list id="network-list"></list>
18 <div id="shared-proxies" class="checkbox">
19 <label>
20 <input id="use-shared-proxies" type="checkbox"
21 metric="Options_NetworkUseSharedProxies"
22 pref="settings.use_shared_proxies">
23 <span i18n-content="useSharedProxies"></span>
24 </label>
25 </div>
26 <div id="network-menus"></div>
27 </div>
28 </section>
29 </if>
30 <if expr="not chromeos">
31 <include src="sync_section.html">
32 <include src="startup_section.html">
33 </if>
34 <section id="proxy-section" hidden>
35 <h3 i18n-content="sectionTitleProxy"></h3>
36 <div id="proxy-section-content"></div>
37 </section>
39 <section id="appearance-section">
40 <h3 i18n-content="sectionTitleAppearance"></h3>
41 <div class="settings-row">
42 <if expr="chromeos">
43 <button id="set-wallpaper" i18n-content="setWallpaper"
44 guest-visibility="disabled"></button>
45 <span id="wallpaper-indicator" class="controlled-setting-indicator">
46 </span>
47 </if>
48 <if expr="not chromeos and is_posix and not is_macosx">
49 <button id="themes-gallery" i18n-content="themesGallery"></button>
50 <button id="themes-native-button"
51 i18n-content="themesNativeButton"></button>
52 <button id="themes-reset"
53 i18n-content="themesSetClassic"></button>
54 </if>
55 <if expr="chromeos or is_win or is_macosx">
56 <button id="themes-gallery" i18n-content="themesGallery"></button>
57 <button id="themes-reset" i18n-content="themesReset"></button>
58 </if>
59 </div>
60 <div class="checkbox controlled-setting-with-label"
61 guest-visibility="disabled">
62 <label>
63 <input type="checkbox"
64 pref="browser.show_home_button"
65 metric="Options_Homepage_HomeButton">
66 <span>
67 <span i18n-content="homePageShowHomeButton"></span>
68 <span class="controlled-setting-indicator"
69 pref="browser.show_home_button"></span>
70 </span>
71 </label>
72 </div>
73 <div id="change-home-page-section" hidden>
74 <div id="change-home-page-section-container" guest-visibility="disabled">
75 <span id="home-page-ntp" class="home-page-label"
76 i18n-content="homePageNtp"></span>
77 <span id="home-page-url" class="home-page-label"></span>
78 <a is="action-link" id="change-home-page" i18n-content="changeHomePage">
79 </a>
80 <div id="extension-controlled-container"></div>
81 </div>
82 </div>
83 <div class="checkbox controlled-setting-with-label"
84 guest-visibility="disabled">
85 <label>
86 <input type="checkbox"
87 pref="bookmark_bar.show_on_all_tabs"
88 metric="Options_ShowBookmarksBar">
89 <span>
90 <span i18n-content="toolbarShowBookmarksBar"></span>
91 <span class="controlled-setting-indicator"
92 pref="bookmark_bar.show_on_all_tabs"></span>
93 </span>
94 </label>
95 </div>
96 <if expr="is_posix and not chromeos and not is_macosx">
97 <div class="checkbox"><label>
98 <input id="show-window-decorations" type="checkbox"
99 pref="browser.custom_chrome_frame" metric="Options_CustomFrame"
100 inverted_pref>
101 <span i18n-content="showWindowDecorations"></span>
102 </label></div>
103 </if>
104 </section>
105 <if expr="chromeos">
106 <section>
107 <h3 i18n-content="sectionTitleDevice"></h3>
108 <div>
109 <span i18n-content="deviceGroupDescription"></span>
110 <div id="touchpad-settings" class="settings-row" hidden>
111 <span class="option-name" i18n-content="touchpadSpeed"></span>
112 <input id="touchpad-sensitivity-range" type="range" min="1" max="5"
113 pref="settings.touchpad.sensitivity2" class="touch-slider">
114 </div>
115 <div id="mouse-settings" class="settings-row" hidden>
116 <span class="option-name" i18n-content="mouseSpeed"></span>
117 <input id="mouse-sensitivity-range" type="range" min="1" max="5"
118 pref="settings.mouse.sensitivity2" class="touch-slider">
119 </div>
120 <div id="no-pointing-devices" i18n-content="noPointingDevices"
121 class="settings-row" hidden>
122 </div>
123 <div class="settings-row">
124 <button id="pointer-settings-button" hidden>
125 </button>
126 <button id="keyboard-settings-button"
127 i18n-content="keyboardSettingsButtonTitle">
128 </button>
129 <span id="display-options-section">
130 <button id="display-options" i18n-content="displayOptions" disabled>
131 </button>
132 </span>
133 </div>
134 <div id="power-row" hidden>
135 <a is="action-link" id="power-settings-link"
136 i18n-content="powerSettingsButton"></a>
137 </div>
138 </div>
139 </section>
140 </if>
141 <section>
142 <h3 i18n-content="sectionTitleSearch"></h3>
143 <div id="search-section-content">
144 <span id="default-search-engine-label"
145 i18n-values=".innerHTML:defaultSearchGroupLabel"></span>
146 <div class="settings-row">
147 <select id="default-search-engine" class="weakrtl"
148 aria-labelledby="default-search-engine-label"></select>
149 <span class="controlled-setting-indicator"
150 pref="default_search_provider_data.template_url_data">
151 </span>
152 <button id="manage-default-search-engines"
153 i18n-content="defaultSearchManageEngines">
154 </button>
155 </div>
156 <div id="google-now-launcher" hidden>
157 <div class="checkbox">
158 <label>
159 <input pref="google_now_launcher.enabled" type="checkbox">
160 <span i18n-content="googleNowLauncherEnable"></span>
161 </label>
162 </div>
163 </div>
164 <div id="hotword-always-on-search" hidden>
165 <div class="checkbox controlled-setting-with-label">
166 <label>
167 <input id="hotword-always-on-search-checkbox"
168 pref="hotword.always_on_search_enabled" type="checkbox">
169 <span i18n-content="hotwordSearchEnable"></span>
170 </label>
171 <a target="_blank" class="hotword-link"
172 i18n-content="learnMore"
173 i18n-values="href:hotwordLearnMoreURL">
174 </a>
175 <span id="hotword-always-on-search-setting-indicator"
176 pref="hotword.always_on_search_enabled" dialog-pref></span>
177 <div>
178 <span class="setting-extra-description"
179 i18n-content="hotwordAlwaysOnDesc">
180 </span>
181 <a id="hotword-retrain-link" is="action-link"
182 i18n-content="hotwordRetrainLink" hidden>
183 </a>
184 </div>
185 </div>
186 </div>
187 <div id="hotword-no-dsp-search" hidden>
188 <div class="checkbox controlled-setting-with-label">
189 <label>
190 <input id="hotword-no-dsp-search-checkbox"
191 pref="hotword.search_enabled_2" type="checkbox">
192 <span i18n-content="hotwordSearchEnable"></span>
193 </label>
194 <a target="_blank" class="hotword-link"
195 i18n-content="learnMore"
196 i18n-values="href:hotwordLearnMoreURL">
197 </a>
198 <span id="hotword-no-dsp-search-setting-indicator"
199 pref="hotword.search_enabled_2" dialog-pref></span>
200 <div>
201 <span class="setting-extra-description"
202 i18n-content="hotwordNoDSPDesc">
203 </span>
204 </div>
205 </div>
206 </div>
207 <div id="audio-history" hidden>
208 <div class="settings-row">
209 <label class="hotword-audio-history">
210 <span id="audio-history-label"></span>
211 </label>
212 <a target="_blank" class="hotword-link"
213 i18n-content="hotwordAudioHistoryManage"
214 i18n-values="href:hotwordManageAudioHistoryURL">
215 </a>
216 </div>
217 <div class="settings-row" id="audio-history-always-on-description">
218 <span class="setting-extra-description"
219 i18n-content="hotwordAlwaysOnAudioHistoryDescription">
220 </span>
221 </div>
222 </div>
223 </div>
224 </section>
225 <section id="sync-users-section" guest-visibility="hidden">
226 <h3 i18n-content="sectionTitleUsers"></h3>
227 <if expr="chromeos">
228 <include src="sync_section.html">
229 </if>
230 <div id="profiles-section" hidden>
231 <list id="profiles-list" class="settings-list" hidden></list>
232 <div id="profiles-single-message" class="settings-row"
233 i18n-content="profilesSingleUser">
234 </div>
235 <if expr="not chromeos">
236 <div id="profiles-enable-guest" class="checkbox">
237 <label>
238 <input pref="profile.browser_guest_enabled"
239 type="checkbox"
240 metric="Options_BrowserGuestEnabled">
241 <span i18n-content="profileBrowserGuestEnable"></span>
242 </label>
243 </div>
244 <div id="profiles-enable-add-person" class="checkbox">
245 <label>
246 <input pref="profile.add_person_enabled"
247 type="checkbox"
248 metric="Options_AddPersonEnabled">
249 <span i18n-content="profileAddPersonEnable"></span>
250 </label>
251 </div>
252 </if>
253 <div id="profiles-buttons">
254 <button id="profiles-create" i18n-content="profilesCreate"></button>
255 <if expr="enable_settings_app">
256 <button id="profiles-app-list-switch"
257 i18n-content="profilesAppListSwitch" hidden>
258 </button>
259 </if>
260 <button id="profiles-manage" i18n-content="profilesManage" disabled>
261 </button>
262 <button id="profiles-delete" i18n-content="profilesDelete"></button>
263 <if expr="not chromeos">
264 <button id="import-data" i18n-content="importData"></button>
265 </if>
266 </div>
267 </div>
268 <div id="profiles-supervised-dashboard-tip"
269 i18n-values=".innerHTML:profilesSupervisedDashboardTip" hidden>
270 </div>
271 </section>
272 <if expr="not chromeos">
273 <section id="set-default-browser-section">
274 <h3 i18n-content="sectionTitleDefaultBrowser"></h3>
275 <div>
276 <button id="set-as-default-browser"
277 i18n-content="defaultBrowserUseAsDefault" hidden>
278 </button>
279 <div id="default-browser-state" i18n-content="defaultBrowserUnknown">
280 </div>
281 <div id="auto-launch-option" class="checkbox" hidden>
282 <label id="auto-launch-label">
283 <input id="auto-launch" type="checkbox">
284 <span i18n-content="autoLaunchText"></span>
285 </label>
286 </div>
287 </div>
288 </section>
289 </if> <!-- not chromeos -->
290 <div id="advanced-settings" hidden>
291 <div id="advanced-settings-container">
292 <if expr="chromeos">
293 <section>
294 <h3 i18n-content="datetimeTitle"></h3>
295 <div class="option-control-table">
296 <div guest-visibility="disabled">
297 <span id="timezone-value-label" class="option-name"
298 i18n-content="timezone"></span>
299 <div id="timezone-value">
300 <select class="control"
301 id="timezone-value-select"
302 i18n-options="timezoneList" data-type="string"
303 pref="cros.system.timezone"
304 aria-labelledby="timezone-value-label"
305 metric="Options_TimezoneSelect"></select>
306 </div>
307 </div>
308 <div class="checkbox settings-row">
309 <div id="resolve-timezone-by-geolocation-selection" hidden>
310 <label>
311 <input id="resolve-timezone-by-geolocation"
312 pref="settings.resolve_timezone_by_geolocation"
313 metric="Options_ResolveTimezoneByGeoLocation" type="checkbox">
314 <span i18n-content="resolveTimezoneByGeoLocation"></span>
315 </label>
316 </div>
317 <label>
318 <input id="use-24hour-clock" pref="settings.clock.use_24hour_clock"
319 metric="Options_Use24HourClockCheckbox" type="checkbox">
320 <span i18n-content="use24HourClock"></span>
321 </label>
322 </div>
323 <div id="set-time" class="settings-row" hidden>
324 <button id="set-time-button"
325 i18n-content="setTimeButton"></button>
326 </div>
327 </div>
328 </section>
330 <section id="device-control-section" hidden>
331 <h3 i18n-content="deviceControlTitle"></h3>
332 <div id="consumer-management-section">
333 <div class="settings-row">
334 <span i18n-content="consumerManagementDescription"></span>
335 </div>
336 <div class="settings-row">
337 <button id="consumer-management-button"></button>
338 </div>
339 </div>
340 </section>
341 </if>
342 <section id="privacy-section">
343 <h3 i18n-content="advancedSectionTitlePrivacy"></h3>
344 <div>
345 <div class="settings-row">
346 <button id="privacyContentSettingsButton"
347 i18n-content="privacyContentSettingsButton"></button>
348 <button id="privacyClearDataButton"
349 i18n-content="privacyClearDataButton"></button>
350 </div>
351 <p id="privacy-explanation" class="settings-row">
352 <span i18n-content="improveBrowsingExperience"></span>
353 <span i18n-content="disableWebServices"></span>
354 <a target="_blank" i18n-content="learnMore"
355 i18n-values="href:privacyLearnMoreURL"></a>
356 </p>
357 <div class="checkbox controlled-setting-with-label">
358 <label>
359 <input id="alternateErrorPagesEnabled"
360 pref="alternate_error_pages.enabled"
361 metric="Options_LinkDoctorCheckbox" type="checkbox">
362 <span>
363 <span i18n-content="linkDoctorPref"></span>
364 <span class="controlled-setting-indicator"
365 pref="alternate_error_pages.enabled"></span>
366 </span>
367 </label>
368 </div>
369 <div class="checkbox controlled-setting-with-label"
370 guest-visibility="disabled">
371 <label>
372 <input pref="search.suggest_enabled"
373 metric="Options_UseSuggestCheckbox" type="checkbox">
374 <span>
375 <span i18n-content="suggestPref"></span>
376 <span class="controlled-setting-indicator"
377 pref="search.suggest_enabled"></span>
378 </span>
379 </label>
380 </div>
381 <div class="checkbox" guest-visibility="disabled">
382 <span class="controlled-setting-with-label">
383 <label>
384 <input id="networkPredictionOptions"
385 metric="Options_DnsPrefetchCheckbox" type="checkbox">
386 <span>
387 <span i18n-content="networkPredictionEnabledDescription"></span>
388 <span class="controlled-setting-indicator"
389 pref="net.network_prediction_options"></span>
390 </span>
391 </label>
392 </span>
393 </div>
394 <div class="checkbox controlled-setting-with-label">
395 <label>
396 <input
397 metric="Options_SafeBrowsingExtendedReportingCheckbox"
398 pref="safebrowsing.extended_reporting_enabled"
399 type="checkbox">
400 <span>
401 <span i18n-content="safeBrowsingEnableExtendedReporting"></span>
402 <span class="controlled-setting-indicator"
403 pref="safebrowsing.extended_reporting_enabled"></span>
404 </span>
405 </label>
406 </div>
407 <div class="checkbox controlled-setting-with-label">
408 <label>
409 <input pref="safebrowsing.enabled"
410 metric="Options_SafeBrowsingCheckbox" type="checkbox">
411 <span>
412 <span i18n-content="safeBrowsingEnableProtection"></span>
413 <span class="controlled-setting-indicator"
414 pref="safebrowsing.enabled"></span>
415 </span>
416 </label>
417 </div>
418 <div id="spelling-enabled-container"
419 class="checkbox controlled-setting-with-label">
420 <label>
421 <input id="spelling-enabled-control" type="checkbox"
422 metric="Options_SpellingServiceCheckbox"
423 pref="spellcheck.use_spelling_service" dialog-pref>
424 <span>
425 <span i18n-content="spellingPref"></span>
426 <span id="spelling-enabled-indicator"
427 class="controlled-setting-indicator"
428 pref="spellcheck.use_spelling_service" dialog-pref>
429 </span>
430 </label>
431 </div>
432 <if expr="_google_chrome">
433 <div id="metrics-reporting-setting"
434 class="checkbox controlled-setting-with-label">
435 <if expr="chromeos">
436 <label>
437 <input id="metrics-reporting-enabled"
438 pref="cros.metrics.reportingEnabled" type="checkbox">
439 <span>
440 <span i18n-content="enableLogging"></span>
441 <span class="controlled-setting-indicator"
442 pref="cros.metrics.reportingEnabled"></span>
443 </span>
444 </label>
445 </if>
446 <if expr="not chromeos">
447 <label>
448 <input id="metrics-reporting-enabled" type="checkbox">
449 <span>
450 <span i18n-content="enableLogging"></span>
451 <span id="metrics-reporting-disabled-icon"
452 class="controlled-setting-indicator"></span>
453 </span>
454 </label>
455 <span id="metrics-reporting-reset-restart" hidden>
456 <!-- Text filled by JavaScript -->
457 <span></span><a is="action-link" role="button"
458 class="standalone-action-link"></a><span></span>
459 </span>
460 </if>
461 </div>
462 </if> <!-- _google_chrome -->
463 <div class="checkbox">
464 <label>
465 <input id="do-not-track-enabled" pref="enable_do_not_track"
466 metric="Options_DoNotTrackCheckbox" type="checkbox" dialog-pref>
467 <span i18n-content="doNotTrack"></span>
468 </label>
469 </div>
470 <if expr="chromeos">
471 <div class="checkbox controlled-setting-with-label">
472 <label>
473 <input id="content-protection-attestation-enabled" type="checkbox"
474 pref="cros.device.attestation_for_content_protection_enabled">
475 <span>
476 <span i18n-content="enableContentProtectionAttestation"></span>
477 <span class="controlled-setting-indicator"
478 pref="cros.device.attestation_for_content_protection_enabled">
479 </span>
480 </span>
481 </label>
482 <a target="_blank" i18n-content="learnMore"
483 i18n-values="href:contentProtectionAttestationLearnMoreURL">
484 </a>
485 </div>
486 </if>
487 <div id="hotword-search" hidden>
488 <div class="checkbox controlled-setting-with-label">
489 <label>
490 <input id="hotword-search-enable" pref="hotword.search_enabled_2"
491 metric="Options_HotwordCheckbox" type="checkbox" dialog-pref>
492 <span>
493 <span i18n-values=".innerHTML:hotwordSearchEnable"></span>
494 <span id="hotword-search-setting-indicator"
495 pref="hotword.search_enabled_2" dialog-pref></span>
496 </span>
497 </label>
498 </div>
499 </div>
500 <if expr="chromeos">
501 <div id="wake-on-wifi" hidden
502 class="checkbox controlled-setting-with-label">
503 <label>
504 <input id="wake-on-wifi-checkbox" type="checkbox"
505 metric="Options_WakeOnWifiSsid"
506 pref="settings.internet.wake_on_wifi_ssid">
507 <span>
508 <span i18n-content="wakeOnWifiLabel"></span>
509 <span id="wake-on-wifi-indicator"
510 class="controlled-setting-indicator"
511 pref="settings.internet.wake_on_wifi_ssid"></span>
512 </span>
513 </label>
514 </div>
515 </if>
516 </div>
517 </section>
518 <if expr="chromeos">
519 <!-- By default, the bluetooth section is hidden. It is only visible if a
520 bluetooth adapter is discovered -->
521 <section id="bluetooth-devices" hidden>
522 <h3 i18n-content="bluetooth"></h3>
523 <div id="bluetooth-options-div">
524 <div class="checkbox">
525 <label>
526 <input type="checkbox" id="enable-bluetooth"
527 metric="Options_BluetoothEnabled">
528 <span i18n-content="enableBluetooth">
529 </label>
530 </div>
531 <div class="settings-list bluetooth-device-list" hidden>
532 <list id="bluetooth-paired-devices-list"></list>
533 <div id="bluetooth-paired-devices-list-empty-placeholder"
534 class="bluetooth-empty-list-label" hidden>
535 <span i18n-content="bluetoothNoDevices"></span>
536 </div>
537 </div>
538 <div id="bluetooth-button-group">
539 <button id="bluetooth-add-device"
540 i18n-content="addBluetoothDevice" hidden></button>
541 <button id="bluetooth-reconnect-device"
542 i18n-content="bluetoothConnectDevice" disabled hidden></button>
543 </div>
544 </div>
545 </section>
546 </if> <!-- chromeos -->
547 <section id="passwords-and-autofill-section">
548 <h3 i18n-content="passwordsAndAutofillGroupName"></h3>
549 <div class="checkbox controlled-setting-with-label">
550 <label>
551 <input id="autofill-enabled" pref="autofill.enabled"
552 metric="Options_FormAutofill" type="checkbox">
553 <span>
554 <span i18n-content="autofillEnabled"></span>
555 <span class="controlled-setting-indicator" pref="autofill.enabled">
556 </span>
557 </span>
558 </label>
559 <a is="action-link" id="autofill-settings"
560 i18n-content="manageAutofillSettings"></a>
561 </div>
562 <div class="checkbox controlled-setting-with-label">
563 <label>
564 <input id="password-manager-enabled"
565 pref="profile.password_manager_enabled"
566 metric="Options_PasswordManager" type="checkbox">
567 <span>
568 <span i18n-content="passwordManagerEnabled"></span>
569 <span class="controlled-setting-indicator"
570 pref="profile.password_manager_enabled"></span>
571 </span>
572 </label>
573 <a is="action-link" id="manage-passwords" i18n-content="managePasswords">
574 </a>
575 </div>
576 <if expr="is_macosx">
577 <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden>
578 </div>
579 </if>
580 </section>
581 <section id="easy-unlock-section" guest-visibility="hidden" hidden>
582 <h3 i18n-content="easyUnlockSectionTitle"></h3>
583 <!-- Options shown when the user has not set up Easy Unlock -->
584 <div id="easy-unlock-disabled" hidden>
585 <div class="settings-row">
586 <span i18n-content="easyUnlockSetupIntro"></span>
587 <a target="_blank" i18n-content="learnMore"
588 i18n-values="href:easyUnlockLearnMoreURL"></a>
589 </div>
590 <button id="easy-unlock-setup-button"
591 i18n-content="easyUnlockSetupButton"></button>
592 </div>
593 <!-- Options shown when the user has set up Easy Unlock -->
594 <div id="easy-unlock-enabled" hidden>
595 <div class="settings-row">
596 <span i18n-content="easyUnlockDescription"></span>
597 <a target="_blank" i18n-content="learnMore"
598 i18n-values="href:easyUnlockLearnMoreURL"></a>
599 <div id="easy-unlock-enable-proximity-detection" class="checkbox"
600 hidden>
601 <label>
602 <input type="checkbox"
603 metric="Options_EasyUnlockRequireProximity"
604 pref="easy_unlock.proximity_required">
605 <span i18n-content="easyUnlockRequireProximityLabel"></span>
606 </label>
607 </div>
608 </div>
609 <button id="easy-unlock-turn-off-button"
610 i18n-content="easyUnlockTurnOffButton"></button>
611 </div>
612 </section>
613 <section id="web-content-section">
614 <h3 i18n-content="advancedSectionTitleContent"></h3>
615 <div>
616 <div class="settings-row">
617 <label class="web-content-select-label">
618 <span i18n-content="defaultFontSizeLabel"></span>
619 <select id="defaultFontSize">
620 <option value="9" i18n-content="fontSizeLabelVerySmall">
621 </option>
622 <option value="12" i18n-content="fontSizeLabelSmall"></option>
623 <option value="16" i18n-content="fontSizeLabelMedium"></option>
624 <option value="20" i18n-content="fontSizeLabelLarge"></option>
625 <option value="24" i18n-content="fontSizeLabelVeryLarge">
626 </option>
627 </select>
628 </label>
629 <span id="font-size-indicator"
630 class="controlled-setting-indicator"></span>
631 <button id="fontSettingsCustomizeFontsButton"
632 i18n-content="fontSettingsCustomizeFontsButton"></button>
633 </div>
634 <div class="settings-row">
635 <label class="web-content-select-label">
636 <span i18n-content="defaultZoomFactorLabel"></span>
637 <select id="defaultZoomFactor" dataType="double"></select>
638 </label>
639 </div>
640 <if expr="is_macosx">
641 <div class="checkbox">
642 <label>
643 <input id="tabsToLinksPref" pref="webkit.webprefs.tabs_to_links"
644 metric="Options_TabsToLinks" type="checkbox">
645 <span i18n-content="tabsToLinksPref"></span>
646 </label>
647 </div>
648 </if>
649 </div>
650 </section>
651 <if expr="not chromeos">
652 <section id="network-section">
653 <h3 i18n-content="advancedSectionTitleNetwork"></h3>
654 <div>
655 <span id="proxiesLabel"
656 class="settings-row"
657 i18n-content="proxiesLabelSystem"></span>
658 <div class="settings-row">
659 <button id="proxiesConfigureButton"
660 i18n-content="proxiesConfigureButton"></button>
661 <span class="controlled-setting-indicator" pref="proxy" plural></span>
662 </div>
663 </div>
664 </section>
665 </if>
666 <section id="languages-section">
667 <h3 i18n-content="advancedSectionTitleLanguages"></h3>
668 <div class="settings-row">
669 <span i18n-content="languageSectionLabel"></span>
670 <a target="_blank" i18n-content="learnMore"
671 i18n-values="href:languagesLearnMoreURL"></a>
672 </div>
673 <div class="settings-row">
674 <button id="language-button"
675 i18n-content="languageAndSpellCheckSettingsButton"></button>
676 </div>
677 <div class="checkbox controlled-setting-with-label">
678 <label>
679 <input pref="translate.enabled"
680 metric="Options_Translate" type="checkbox">
681 <span>
682 <span i18n-content="translateEnableTranslate"></span>
683 <span class="controlled-setting-indicator" pref="translate.enabled">
684 </span>
685 </span>
686 </label>
687 <a is="action-link" id="manage-languages" i18n-content="manageLanguages">
688 </a>
689 </div>
690 </section>
691 <section id="downloads-section">
692 <h3 i18n-content="downloadLocationGroupName"></h3>
693 <div>
694 <div class="settings-row">
695 <label>
696 <span id="download-location-label"
697 i18n-content="downloadLocationBrowseTitle">
698 </span>
699 <input id="downloadLocationPath" class="weakrtl" type="text"
700 size="36" readonly>
701 </label>
702 <button id="downloadLocationChangeButton"
703 i18n-content="downloadLocationChangeButton">
704 </button>
705 <span class="controlled-setting-indicator"
706 pref="download.default_directory">
707 </span>
708 </div>
709 <div class="checkbox controlled-setting-with-label">
710 <label>
711 <input type="checkbox"
712 pref="download.prompt_for_download"
713 metric="Options_AskForSaveLocation">
714 <span>
715 <span i18n-content="downloadLocationAskForSaveLocation"></span>
716 <span class="controlled-setting-indicator"
717 pref="download.prompt_for_download"></span>
718 </span>
719 </label>
720 </div>
721 <if expr="chromeos">
722 <div class="checkbox controlled-setting-with-label"
723 id="disable-drive-row" guest-visibility="disabled">
724 <label>
725 <input type="checkbox"
726 pref="gdata.disabled"
727 metric="Options_DisableGData">
728 <span>
729 <span i18n-content="disableGData"></span>
730 <span class="controlled-setting-indicator" pref="gdata.disabled">
731 </span>
732 </span>
733 </label>
734 </div>
735 </if>
736 <div id="auto-open-file-types-section" hidden>
737 <div id="auto-open-file-types-container">
738 <div id="auto-open-file-types-label" class="settings-row"
739 i18n-content="autoOpenFileTypesInfo"></div>
740 <div class="settings-row">
741 <button id="autoOpenFileTypesResetToDefault"
742 i18n-content="autoOpenFileTypesResetToDefault"></button>
743 </div>
744 </div>
745 </div>
746 </div>
747 </section>
748 <section>
749 <h3 i18n-content="advancedSectionTitleCertificates"></h3>
750 <div>
751 <if expr="use_nss_certs or is_win or is_macosx">
752 <div class="settings-row">
753 <button id="certificatesManageButton"
754 i18n-content="certificatesManageButton"></button>
755 </div>
756 </if>
757 </div>
758 </section>
759 <if expr="enable_service_discovery">
760 <section id="cloudprint-options-mdns">
761 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3>
762 <div class="settings-row">
763 <span i18n-content="cloudPrintOptionLabel"></span>
764 <a target="_blank" i18n-content="learnMore"
765 i18n-values="href:cloudPrintLearnMoreURL"></a>
766 </div>
767 <div class="settings-row">
768 <button id="cloudPrintDevicesPageButton"
769 i18n-content="cloudPrintDevicesPageButton"></button>
770 </div>
772 <div class="settings-row checkbox controlled-setting-with-label"
773 i18n-values=".hidden: cloudPrintHideNotificationsCheckbox">
774 <label>
775 <input id="local-discovery-notifications-enabled"
776 pref="local_discovery.notifications_enabled"
777 type="checkbox"
778 metric="LocalDiscoveryNotificationsDisabled_Settings">
779 <span>
780 <span i18n-content="cloudPrintEnableNotificationsLabel"></span>
781 <span class="controlled-setting-indicator"
782 pref="local_discovery.notifications_enabled"></span>
783 </span>
784 </label>
785 </div>
786 </section>
787 </if>
789 <if expr="chromeos">
790 <include src="startup_section.html">
791 </if>
793 <section>
794 <h3 i18n-content="accessibilityTitle"></h3>
796 <div>
797 <a href="https://chrome.google.com/webstore/category/collection/accessibility"
798 id="accessibility-features" target="_blank"
799 i18n-content="accessibilityFeaturesLink"></a>
800 </div>
802 <if expr="chromeos">
803 <div class="option-control-table">
804 <p id="accessibility-explanation" class="settings-row">
805 <span i18n-content="accessibilityExplanation"></span>
806 <a id="accessibility-learn-more" target="_blank"
807 i18n-content="learnMore"></a>
808 </p>
809 <div class="option-name">
810 <div class="checkbox controlled-setting-with-label">
811 <label>
812 <input
813 pref="settings.a11y.enable_menu" type="checkbox"
814 metric="Options_AccessibilitySystemMenu">
815 <span>
816 <span i18n-content="accessibilityAlwaysShowMenu"></span>
817 <span class="controlled-setting-indicator"
818 pref="settings.a11y.enable_menu"></span>
819 </span>
820 </label>
821 </div>
822 </div>
823 <div class="option-name">
824 <div class="checkbox controlled-setting-with-label">
825 <label>
826 <input
827 pref="settings.a11y.large_cursor_enabled" type="checkbox"
828 metric="Options_AccessibilityLargeMouseCursor">
829 <span>
830 <span i18n-content="accessibilityLargeCursor"></span>
831 <span class="controlled-setting-indicator"
832 pref="settings.a11y.large_cursor_enabled"></span>
833 </span>
834 </label>
835 </div>
836 </div>
837 <div class="option-name">
838 <div class="checkbox controlled-setting-with-label">
839 <label>
840 <input id="accessibility-high-contrast-check"
841 pref="settings.a11y.high_contrast_enabled" type="checkbox"
842 metric="Options_AccessibilityHighContrastMode">
843 <span>
844 <span i18n-content="accessibilityHighContrast"></span>
845 <span class="controlled-setting-indicator"
846 pref="settings.a11y.high_contrast_enabled"></span>
847 </span>
848 </label>
849 </div>
850 </div>
851 <div id="accessibility-sticky-keys" class="option-name">
852 <div class="checkbox controlled-setting-with-label">
853 <label>
854 <input id="accessibility-sticky-keys-check"
855 pref="settings.a11y.sticky_keys_enabled" type="checkbox"
856 metric="Options_AccessibilityStickyKeys">
857 <span>
858 <span i18n-content="accessibilityStickyKeys"></span>
859 <span class="controlled-setting-indicator"
860 pref="settings.a11y.sticky_keys_enabled"></span>
861 </span>
862 </label>
863 </div>
864 </div>
865 <div class="option-name">
866 <div class="checkbox controlled-setting-with-label">
867 <label>
868 <input id="accessibility-spoken-feedback-check"
869 pref="settings.accessibility" type="checkbox"
870 metric="Options_AccessibilitySpokenFeedback">
871 <span>
872 <span i18n-content="accessibilitySpokenFeedback"></span>
873 <span class="controlled-setting-indicator"
874 pref="settings.accessibility"></span>
875 </span>
876 </label>
877 <div id="accessibility-settings" hidden>
878 <button id="accessibility-settings-button"
879 i18n-content="accessibilitySettings"></button>
880 </div>
881 </div>
882 </div>
883 <div class="option-name">
884 <div class="checkbox controlled-setting-with-label">
885 <label>
886 <input
887 id="accessibility-screen-magnifier-check"
888 pref="settings.a11y.screen_magnifier" type="checkbox"
889 metric="Options_AccessibilityScreenMagnifier">
890 <span>
891 <span i18n-content="accessibilityScreenMagnifier"></span>
892 <span class="controlled-setting-indicator"
893 pref="settings.a11y.screen_magnifier"></span>
894 </span>
895 </label>
896 </div>
897 <div class="checkbox controlled-setting-with-label">
898 <!-- No whitespace between elements. -->
899 <input type="checkbox" class="spacer-checkbox">
900 <label>
901 <input
902 id = "accessibility-screen-magnifier-center-focus-check"
903 pref="settings.a11y.screen_magnifier_center_focus" type="checkbox"
904 metric="Options_AccessibilityScreenMagnifierCenterFocus">
905 <span>
906 <span i18n-content="accessibilityScreenMagnifierCenterFocus"></span>
907 <span class="controlled-setting-indicator"
908 pref="settings.a11y.screen_magnifier_center_focus"></span>
909 </span>
910 </label>
911 </div>
912 </div>
913 <div class="option-name" id="accessibility-tap-dragging">
914 <div class="checkbox">
915 <label>
916 <input id="accessibility-tap-dragging-check"
917 pref="settings.touchpad.enable_tap_dragging" type="checkbox"
918 metric="Options_AccessibilityTapDragging">
919 <span i18n-content="accessibilityTapDragging"></span>
920 </label>
921 </div>
922 </div>
923 <div class="option-name" id="accessibility-autoclick">
924 <div class="checkbox controlled-setting-with-label">
925 <label>
926 <input id="accessibility-autoclick-check"
927 pref="settings.a11y.autoclick" type="checkbox">
928 <span>
929 <span i18n-content="accessibilityAutoclick"></span>
930 <span class="controlled-setting-indicator"
931 pref="settings.a11y.autoclick"></span>
932 </span>
933 </label>
934 </div>
935 <div class="checkbox">
936 <!-- No whitespace between elements. -->
937 <input type="checkbox" class="spacer-checkbox"><span
938 id="accessibility-autoclick-label"
939 i18n-content="accessibilityAutoclickDropdown">
940 </span><select id="accessibility-autoclick-dropdown" class="control"
941 data-type="number"
942 aria-labelledby="accessibility-autoclick-label"
943 pref="settings.a11y.autoclick_delay_ms">
944 <option value="200"
945 i18n-content="autoclickDelayExtremelyShort"></option>
946 <option value="400"
947 i18n-content="autoclickDelayVeryShort"></option>
948 <option value="600" i18n-content="autoclickDelayShort">
949 </option>
950 <option value="800" i18n-content="autoclickDelayLong">
951 </option>
952 <option value="1000"
953 i18n-content="autoclickDelayVeryLong"></option>
954 </select>
955 <span class="controlled-setting-indicator"
956 pref="settings.a11y.autoclick_delay_ms"></span>
957 </div>
958 </div>
959 <div class="option_name" id="accessibility_onscreen_keyboard">
960 <div class="checkbox controlled-setting-with-label">
961 <label>
962 <input pref="settings.a11y.virtual_keyboard" type="checkbox"
963 metric="Options_AccessibilityOnScreenKeyboard">
964 <span>
965 <span i18n-content="accessibilityVirtualKeyboard"></span>
966 <span class="controlled-setting-indicator"
967 pref="settings.a11y.virtual_keyboard"></span>
968 </span>
969 </label>
970 </div>
971 </div>
972 </div>
973 </if>
975 </section>
977 <if expr="chromeos">
978 <section id="factory-reset-section" hidden>
979 <h3 i18n-content="factoryResetTitle"></h3>
980 <div>
981 <span class="settings-row" i18n-content="factoryResetDescription">
982 </span>
983 <button id="factory-reset-restart"
984 i18n-content="factoryResetRestart">
985 </button>
986 </div>
987 </section>
988 </if>
989 <if expr="not chromeos">
990 <section id="system-section">
991 <h3 i18n-content="advancedSectionTitleSystem"></h3>
992 <if expr="not is_macosx">
993 <div class="checkbox controlled-setting-with-label">
994 <label>
995 <input pref="background_mode.enabled"
996 type="checkbox">
997 <span>
998 <span i18n-content="backgroundModeCheckbox"></span>
999 <span class="controlled-setting-indicator"
1000 pref="background_mode.enabled"></span>
1001 </span>
1002 </label>
1003 </div>
1004 </if>
1005 <div class="checkbox controlled-setting-with-label">
1006 <label>
1007 <input id="gpu-mode-checkbox"
1008 pref="hardware_acceleration_mode.enabled" type="checkbox">
1009 <span>
1010 <span i18n-content="gpuModeCheckbox"></span>
1011 <span class="controlled-setting-indicator"
1012 pref="hardware_acceleration_mode.enabled"></span>
1013 </span>
1014 </label>
1015 <span id="gpu-mode-reset-restart"
1016 i18n-values=".innerHTML:gpuModeResetRestart"></span>
1017 </div>
1018 </section>
1019 </if>
1020 <section id="reset-profile-settings-section">
1021 <h3 i18n-content="resetProfileSettingsSectionTitle"></h3>
1022 <div>
1023 <span class="settings-row" i18n-content="resetProfileSettingsDescription">
1024 </span>
1025 <button id="reset-profile-settings" i18n-content="resetProfileSettings">
1026 </button>
1027 </div>
1028 </section>
1029 </div> <!-- advanced-settings-container -->
1030 </div> <!-- advanced-settings -->
1031 <footer id="advanced-settings-footer">
1032 <a is="action-link" id="advanced-settings-expander"
1033 i18n-content="showAdvancedSettings"></a>
1034 </footer>
1035 </div>