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