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