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