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