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 <if expr="not pp_ifdef('chromeos')">
      6   <include src="sync_section.html">
      7 </if>
      8 <if expr="pp_ifdef('chromeos')">
      9   <section>
     10     <h3 i18n-content="sectionTitleInternet"></h3>
     11     <div id="network-settings">
     12       <list id="network-list"></list>
     13       <div id="shared-proxies" class="checkbox">
     14         <label>
     15           <input id="use-shared-proxies" type="checkbox"
     16               pref="settings.use_shared_proxies">
     17           <span i18n-content="useSharedProxies"></span>
     18         </label>
     19       </div>
     20       <div id="network-menus"></div>
     21     </div>
     22   </section>
     23 </if>
     24 <if expr="not pp_ifdef('chromeos')">
     25   <include src="startup_section.html">
     26 </if>
     27   <section>
     28     <h3 i18n-content="sectionTitleAppearance"></h3>
     29     <div class="settings-row">
     30 <if expr="pp_ifdef('chromeos')">
     31       <button id="set-wallpaper" i18n-content="setWallpaper"
     32           guest-visibility="disabled"></button>
     33 </if>
     34 <if expr="not pp_ifdef('chromeos') and is_posix and not is_macosx">
     35       <button id="themes-gallery" i18n-content="themesGallery"></button>
     36       <button id="themes-native-button"
     37           i18n-content="themesNativeButton"></button>
     38       <button id="themes-reset"
     39           i18n-content="themesSetClassic"></button>
     40 </if>
     41 <if expr="pp_ifdef('chromeos') or is_win or is_macosx">
     42       <button id="themes-gallery" i18n-content="themesGallery"></button>
     43       <button id="themes-reset" i18n-content="themesReset"></button>
     44 </if>
     45     </div>
     46     <div class="checkbox" guest-visibility="disabled">
     47       <span class="controlled-setting-with-label">
     48         <input id="show-home-button" type="checkbox"
     49             pref="browser.show_home_button"
     50             metric="Options_Homepage_HomeButton">
     51         <span>
     52           <label for="show-home-button" i18n-content="homePageShowHomeButton">
     53           </label>
     54           <span class="controlled-setting-indicator"
     55               pref="browser.show_home_button">
     56           </span>
     57         </span>
     58       </span>
     59     </div>
     60     <div id="change-home-page-section" hidden>
     61       <div id="change-home-page-section-container" guest-visibility="disabled">
     62         <span id="home-page-ntp" class="home-page-label"
     63             i18n-content="homePageNtp"></span>
     64         <span id="home-page-url" class="home-page-label"></span>
     65         <button id="change-home-page" class="link-button"
     66             i18n-content="changeHomePage"></button>
     67       </div>
     68     </div>
     69     <div class="checkbox" guest-visibility="disabled">
     70       <span class="controlled-setting-with-label">
     71         <input id="show-bookmark-bars" type="checkbox"
     72             pref="bookmark_bar.show_on_all_tabs"
     73             metric="Options_ShowBookmarksBar">
     74         <span>
     75           <label for="show-bookmark-bars"
     76               i18n-content="toolbarShowBookmarksBar">
     77           </label>
     78           <span class="controlled-setting-indicator"
     79               pref="bookmark_bar.show_on_all_tabs">
     80           </span>
     81         </span>
     82       </span>
     83     </div>
     84 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx">
     85     <div class="checkbox"><label>
     86         <input id="show-window-decorations" type="checkbox"
     87             pref="browser.custom_chrome_frame" metric="Options_CustomFrame"
     88             inverted_pref>
     89         <span i18n-content="showWindowDecorations"></span>
     90     </label></div>
     91 </if>
     92   </section>
     93 <if expr="pp_ifdef('chromeos')">
     94   <section>
     95     <h3 i18n-content="sectionTitleDevice"></h3>
     96     <div>
     97       <span i18n-content="deviceGroupDescription"></span>
     98       <div id="touchpad-settings" class="settings-row" hidden>
     99         <span class="option-name" i18n-content="touchpadSpeed"></span>
    100         <input id="sensitivity-range" type="range" min="1" max="5"
    101             pref="settings.touchpad.sensitivity2" class="touch-slider">
    102       </div>
    103       <div id="mouse-settings" class="settings-row" hidden>
    104         <span class="option-name" i18n-content="mouseSpeed"></span>
    105         <input id="sensitivity-range" type="range" min="1" max="5"
    106             pref="settings.mouse.sensitivity2" class="touch-slider">
    107       </div>
    108       <div id="no-pointing-devices" i18n-content="noPointingDevices"
    109           class="settings-row" hidden>
    110       </div>
    111       <div class="settings-row">
    112         <button id="pointer-settings-button">
    113         </button>
    114         <button id="keyboard-settings-button"
    115             i18n-content="keyboardSettingsButtonTitle">
    116         </button>
    117         <span id="display-options-section">
    118           <button id="display-options" i18n-content="displayOptions">
    119           </button>
    120         </span>
    121       </div>
    122     </div>
    123   </section>
    124 </if>
    125   <section>
    126     <h3 i18n-content="sectionTitleSearch"></h3>
    127       <div>
    128         <span class="settings-row"
    129             i18n-values=".innerHTML:defaultSearchGroupLabel">
    130         </span>
    131         <div class="settings-row">
    132           <select id="default-search-engine" class="weakrtl"></select>
    133           <span class="controlled-setting-indicator"
    134               pref="default_search_provider.enabled">
    135           </span>
    136           <button id="manage-default-search-engines"
    137               i18n-content="defaultSearchManageEngines">
    138           </button>
    139         </div>
    140       </div>
    141   </section>
    142   <section id="sync-users-section" guest-visibility="hidden">
    143     <h3 i18n-content="sectionTitleUsers"></h3>
    144 <if expr="pp_ifdef('chromeos')">
    145     <include src="sync_section.html">
    146 </if>
    147     <div id="profiles-section" hidden>
    148       <list id="profiles-list" class="settings-list" hidden></list>
    149       <div id="profiles-single-message" class="settings-row"
    150           i18n-content="profilesSingleUser">
    151       </div>
    152       <div id="profiles-buttons">
    153         <button id="profiles-create" i18n-content="profilesCreate"></button>
    154 <if expr="pp_ifdef('enable_settings_app')">
    155         <button id="profiles-app-list-switch"
    156             i18n-content="profilesAppListSwitch" hidden>
    157         </button>
    158 </if>
    159         <button id="profiles-manage" i18n-content="profilesManage" disabled>
    160         </button>
    161         <button id="profiles-delete" i18n-content="profilesDelete"></button>
    162 <if expr="not pp_ifdef('chromeos')">
    163         <button id="import-data" i18n-content="importData"></button>
    164 </if>
    165       </div>
    166     </div>
    167   </section>
    168 <if expr="not pp_ifdef('chromeos')">
    169   <section>
    170     <h3 i18n-content="sectionTitleDefaultBrowser"></h3>
    171     <div>
    172       <button id="set-as-default-browser"
    173           i18n-content="defaultBrowserUseAsDefault" hidden>
    174       </button>
    175       <div id="default-browser-state" i18n-content="defaultBrowserUnknown">
    176       </div>
    177       <div id="auto-launch-option" class="checkbox" hidden>
    178         <label id="auto-launch-label">
    179           <input id="auto-launch" type="checkbox">
    180           <span i18n-content="autoLaunchText"></span>
    181         </label>
    182       </div>
    183     </div>
    184   </section>
    185 </if>  <!-- not pp_ifdef('chromeos') -->
    186 <div id="advanced-settings" hidden>
    187 <div id="advanced-settings-container">
    188 <if expr="pp_ifdef('chromeos')">
    189   <section>
    190     <h3 i18n-content="datetimeTitle"></h3>
    191     <div class="option-control-table">
    192       <div guest-visibility="disabled">
    193         <span class="option-name" i18n-content="timezone"></span>
    194         <div id="timezone-value">
    195           <select id="timezone-select" class="control"
    196               i18n-options="timezoneList" data-type="string"
    197               pref="cros.system.timezone">
    198           </select>
    199         </div>
    200       </div>
    201       <div class="checkbox">
    202         <label>
    203           <input id="use-24hour-clock" pref="settings.clock.use_24hour_clock"
    204               type="checkbox">
    205           <span i18n-content="use24HourClock"></span>
    206         </label>
    207       </div>
    208     </div>
    209   </section>
    210 </if>
    211   <section id="privacy-section">
    212     <h3 i18n-content="advancedSectionTitlePrivacy"></h3>
    213     <div>
    214       <div class="settings-row">
    215         <button id="privacyContentSettingsButton"
    216             i18n-content="privacyContentSettingsButton"></button>
    217         <button id="privacyClearDataButton"
    218             i18n-content="privacyClearDataButton"></button>
    219       </div>
    220       <p id="privacy-explanation" class="settings-row">
    221         <span i18n-content="improveBrowsingExperience"></span>
    222         <span i18n-content="disableWebServices"></span>
    223         <a target="_blank" i18n-content="learnMore"
    224             i18n-values="href:privacyLearnMoreURL"></a>
    225       </p>
    226       <div class="checkbox">
    227         <span class="controlled-setting-with-label">
    228           <input id="alternateErrorPagesEnabled"
    229               pref="alternate_error_pages.enabled"
    230               metric="Options_LinkDoctorCheckbox" type="checkbox">
    231           <span>
    232             <label for="alternateErrorPagesEnabled"
    233                 i18n-content="linkDoctorPref">
    234             </label>
    235             <span class="controlled-setting-indicator"
    236                 pref="alternate_error_pages.enabled">
    237             </span>
    238           </span>
    239         </span>
    240       </div>
    241       <div class="checkbox" guest-visibility="disabled">
    242         <span class="controlled-setting-with-label">
    243           <input id="searchSuggestEnabled" pref="search.suggest_enabled"
    244               metric="Options_UseSuggestCheckbox" type="checkbox">
    245           <span>
    246             <label for="searchSuggestEnabled" i18n-content="suggestPref">
    247             </label>
    248             <span class="controlled-setting-indicator"
    249                 pref="search.suggest_enabled">
    250             </span>
    251           </span>
    252         </span>
    253       </div>
    254       <div class="checkbox" guest-visibility="disabled">
    255         <span class="controlled-setting-with-label">
    256           <input id="dnsPrefetchingEnabled" pref="dns_prefetching.enabled"
    257               metric="Options_DnsPrefetchCheckbox" type="checkbox">
    258           <span>
    259             <label for="dnsPrefetchingEnabled"
    260                 i18n-content="networkPredictionEnabledDescription">
    261             </label>
    262             <span class="controlled-setting-indicator"
    263                 pref="dns_prefetching.enabled">
    264             </span>
    265           </span>
    266         </span>
    267       </div>
    268       <div class="checkbox">
    269         <span class="controlled-setting-with-label">
    270           <input id="safeBrowsingEnabled" pref="safebrowsing.enabled"
    271               metric="Options_SafeBrowsingCheckbox" type="checkbox">
    272           <span>
    273             <label for="safeBrowsingEnabled"
    274                 i18n-content="safeBrowsingEnableProtection">
    275             </label>
    276             <span class="controlled-setting-indicator"
    277                 pref="safebrowsing.enabled">
    278             </span>
    279           </span>
    280         </span>
    281       </div>
    282 <if expr="pp_ifdef('_google_chrome')">
    283       <div class="checkbox">
    284         <span class="controlled-setting-with-label">
    285           <input id="spelling-enabled-control" type="checkbox"
    286               pref="spellcheck.use_spelling_service" dialog-pref>
    287           <span>
    288             <label for="spelling-enabled-control" i18n-content="spellingPref">
    289             </label>
    290             <span id="spelling-enabled-indicator"
    291                 class="controlled-setting-indicator"
    292                 pref="spellcheck.use_spelling_service" dialog-pref>
    293             </span>
    294           </span>
    295         </span>
    296       </div>
    297       <div id="metricsReportingSetting" class="checkbox">
    298         <span class="controlled-setting-with-label">
    299 <if expr="pp_ifdef('chromeos')">
    300           <input id="metricsReportingEnabled"
    301               pref="cros.metrics.reportingEnabled" type="checkbox">
    302           <span>
    303             <label for="metricsReportingEnabled" i18n-content="enableLogging">
    304             </label>
    305             <span class="controlled-setting-indicator"
    306                 pref="cros.metrics.reportingEnabled">
    307             </span>
    308           </span>
    309 </if>
    310 <if expr="not pp_ifdef('chromeos')">
    311           <input id="metricsReportingEnabled"
    312               pref="user_experience_metrics.reporting_enabled" type="checkbox">
    313           <span>
    314             <label for="metricsReportingEnabled" i18n-content="enableLogging">
    315             </label>
    316             <span class="controlled-setting-indicator"
    317                 pref="user_experience_metrics.reporting_enabled">
    318             </span>
    319           </span>
    320 </if>
    321         </span>
    322       </div>
    323 </if>  <!-- pp_ifdef('_google_chrome') -->
    324       <div class="checkbox">
    325         <label>
    326           <input id="do-not-track-enabled" pref="enable_do_not_track"
    327               metric="Options_DoNotTrackCheckbox" type="checkbox" dialog-pref>
    328           <span i18n-content="doNotTrack"></span>
    329         </label>
    330       </div>
    331     </div>
    332   </section>
    333 <if expr="pp_ifdef('chromeos')">
    334   <!-- By default, the bluetooth section is hidden.  It is only visible if a
    335        bluetooth adapter is discovered -->
    336   <section id="bluetooth-devices" hidden>
    337     <h3 i18n-content="bluetooth"></h3>
    338     <div id="bluetooth-options-div">
    339       <div class="checkbox">
    340         <label>
    341           <input type="checkbox" id="enable-bluetooth">
    342           <span i18n-content="enableBluetooth">
    343         </label>
    344       </div>
    345       <div class="settings-list bluetooth-device-list" hidden>
    346         <list id="bluetooth-paired-devices-list"></list>
    347         <div id="bluetooth-paired-devices-list-empty-placeholder"
    348             class="bluetooth-empty-list-label" hidden>
    349           <span i18n-content="bluetoothNoDevices"></span>
    350         </div>
    351       </div>
    352       <div id="bluetooth-button-group">
    353         <button id="bluetooth-add-device"
    354             i18n-content="addBluetoothDevice" hidden></button>
    355         <button id="bluetooth-reconnect-device"
    356             i18n-content="bluetoothConnectDevice" disabled hidden></button>
    357       </div>
    358     </div>
    359   </section>
    360 </if>  <!-- pp_ifdef('chromeos') -->
    361   <section id="passwords-and-autofill-section">
    362     <h3 i18n-content="passwordsAndAutofillGroupName"></h3>
    363     <div class="checkbox">
    364       <span class="controlled-setting-with-label">
    365         <input id="autofill-enabled" pref="autofill.enabled"
    366             metric="Options_FormAutofill" type="checkbox">
    367         <span>
    368           <label for="autofill-enabled" i18n-content="autofillEnabled"></label>
    369           <span class="controlled-setting-indicator" pref="autofill.enabled">
    370           </span>
    371           <button id="autofill-settings" class="link-button"
    372               i18n-content="manageAutofillSettings">
    373           </button>
    374         </span>
    375       </span>
    376     </div>
    377     <div class="checkbox">
    378       <span class="controlled-setting-with-label">
    379         <input id="password-manager-enabled"
    380             pref="profile.password_manager_enabled"
    381             metric="Options_PasswordManager" type="checkbox">
    382         <span>
    383           <label for="password-manager-enabled"
    384               i18n-content="passwordManagerEnabled">
    385           </label>
    386           <span class="controlled-setting-indicator"
    387               pref="profile.password_manager_enabled">
    388           </span>
    389           <button id="manage-passwords" class="link-button"
    390               i18n-content="managePasswords">
    391           </button>
    392         </span>
    393       </span>
    394     </div>
    395     <div class="checkbox" id="password-generation-checkbox">
    396       <label>
    397         <input id="password-generation-enabled" pref="password_generation.enabled"
    398             metric="Options_PasswordGenerationCheckbox" type="checkbox">
    399         <span i18n-content="passwordGenerationEnabledDescription"></span>
    400       </label>
    401     </div>
    402 <if expr="is_macosx">
    403     <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden>
    404     </div>
    405 </if>
    406   </section>
    407   <section id="web-content-section">
    408     <h3 i18n-content="advancedSectionTitleContent"></h3>
    409     <div>
    410       <div class="settings-row">
    411         <label class="web-content-select-label">
    412           <span i18n-content="defaultFontSizeLabel"></span>
    413           <select id="defaultFontSize">
    414             <option value="9" i18n-content="fontSizeLabelVerySmall">
    415             </option>
    416             <option value="12" i18n-content="fontSizeLabelSmall"></option>
    417             <option value="16" i18n-content="fontSizeLabelMedium"></option>
    418             <option value="20" i18n-content="fontSizeLabelLarge"></option>
    419             <option value="24" i18n-content="fontSizeLabelVeryLarge">
    420             </option>
    421           </select>
    422         </label>
    423         <span id="font-size-indicator"
    424             class="controlled-setting-indicator"></span>
    425         <button id="fontSettingsCustomizeFontsButton"
    426             i18n-content="fontSettingsCustomizeFontsButton"></button>
    427       </div>
    428       <div class="settings-row">
    429         <label class="web-content-select-label">
    430           <span i18n-content="defaultZoomFactorLabel"></span>
    431           <select id="defaultZoomFactor" dataType="double"></select>
    432         </label>
    433       </div>
    434 <if expr="is_macosx">
    435       <div class="checkbox">
    436         <label>
    437           <input id="tabsToLinksPref" pref="webkit.webprefs.tabs_to_links"
    438               metric="Options_TabsToLinks" type="checkbox">
    439           <span i18n-content="tabsToLinksPref"></span>
    440         </label>
    441       </div>
    442 </if>
    443     </div>
    444   </section>
    445 <if expr="not pp_ifdef('chromeos')">
    446   <section id="network-section">
    447     <h3 i18n-content="advancedSectionTitleNetwork"></h3>
    448     <div>
    449       <span id="proxiesLabel" class="settings-row"></span>
    450       <div class="settings-row">
    451         <button id="proxiesConfigureButton"
    452             i18n-content="proxiesConfigureButton"></button>
    453         <span class="controlled-setting-indicator" pref="proxy" plural></span>
    454       </div>
    455     </div>
    456   </section>
    457 </if>
    458   <section id="languages-section">
    459     <h3 i18n-content="advancedSectionTitleLanguages"></h3>
    460     <span class="settings-row" i18n-content="languageSectionLabel"></span>
    461     <div class="settings-row">
    462       <button id="language-button"
    463           i18n-content="languageAndSpellCheckSettingsButton"></button>
    464     </div>
    465     <div class="checkbox">
    466       <span class="controlled-setting-with-label">
    467         <input id="enableTranslate" pref="translate.enabled"
    468             metric="Options_Translate" type="checkbox">
    469         <span>
    470           <label for="enableTranslate" i18n-content="translateEnableTranslate">
    471           </label>
    472           <span class="controlled-setting-indicator" pref="translate.enabled">
    473           </span>
    474           <button id="manage-languages" class="link-button"
    475               i18n-content="manageLanguages"></button>
    476         </span>
    477       </span>
    478     </div>
    479   </section>
    480   <section id="downloads-section">
    481     <h3 i18n-content="downloadLocationGroupName"></h3>
    482     <div>
    483       <div class="settings-row">
    484         <label>
    485           <span id="download-location-label"
    486               i18n-content="downloadLocationBrowseTitle">
    487           </span>
    488           <input id="downloadLocationPath" class="weakrtl" type="text"
    489               size="36" readonly>
    490         </label>
    491         <button id="downloadLocationChangeButton"
    492             i18n-content="downloadLocationChangeButton">
    493         </button>
    494         <span class="controlled-setting-indicator"
    495           pref="download.default_directory">
    496         </span>
    497       </div>
    498       <div class="checkbox">
    499         <span class="controlled-setting-with-label">
    500           <input id="prompt-for-download" type="checkbox"
    501                 pref="download.prompt_for_download"
    502                 metric="Options_AskForSaveLocation">
    503           <span>
    504             <label for="prompt-for-download"
    505                 i18n-content="downloadLocationAskForSaveLocation">
    506             </label>
    507             <span class="controlled-setting-indicator"
    508                 pref="download.prompt_for_download">
    509             </span>
    510           </span>
    511         </span>
    512       </div>
    513 <if expr="pp_ifdef('chromeos')">
    514       <div class="checkbox" id="disable-drive-row" guest-visibility="disabled">
    515         <span class="controlled-setting-with-label">
    516           <input id="drive-disabled" type="checkbox"
    517               pref="gdata.disabled"
    518               metric="Options_DisableGData">
    519           <span>
    520             <label for="drive-disabled" i18n-content="disableGData"></label>
    521             <span class="controlled-setting-indicator" pref="gdata.disabled">
    522             </span>
    523           </span>
    524         </span>
    525       </div>
    526 </if>
    527 <if expr="not pp_ifdef('chromeos')">
    528       <div id="auto-open-file-types-section" hidden>
    529         <div id="auto-open-file-types-container">
    530           <div id="auto-open-file-types-label"
    531               i18n-content="autoOpenFileTypesInfo"></div>
    532           <button id="autoOpenFileTypesResetToDefault"
    533               i18n-content="autoOpenFileTypesResetToDefault"></button>
    534         </div>
    535       </div>
    536 </if>
    537     </div>
    538   </section>
    539   <section>
    540       <h3 i18n-content="advancedSectionTitleSecurity"></h3>
    541       <div>
    542 <if expr="pp_ifdef('use_nss') or is_win or is_macosx">
    543         <div class="settings-row">
    544           <button id="certificatesManageButton"
    545               i18n-content="certificatesManageButton"></button>
    546         </div>
    547 </if>
    548         <div class="checkbox">
    549           <label>
    550             <input id="sslCheckRevocation" pref="ssl.rev_checking.enabled"
    551                 type="checkbox">
    552             <span i18n-content="sslCheckRevocation"></span>
    553           </label>
    554         </div>
    555       </div>
    556     </section>
    557 <if expr="not pp_ifdef('chromeos')">
    558     <section id="cloud-print-connector-section">
    559       <h3 i18n-content="advancedSectionTitleCloudPrint"></h3>
    560       <div>
    561         <p id="cloudPrintConnectorLabel" class="settings-row"
    562              i18n-content="cloudPrintConnectorDisabledLabel"></p>
    563         <div class="settings-row">
    564           <button id="cloudPrintConnectorSetupButton"
    565               i18n-content="cloudPrintConnectorDisabledButton"></button>
    566           <button id="cloudPrintManageButton"
    567               i18n-content="cloudPrintConnectorEnabledManageButton"></button>
    568         </div>
    569       </div>
    570     </section>
    571 </if>
    572 <if expr="pp_ifdef('chromeos')">
    573   <section id="cloud-print-connector-section">
    574     <h3 i18n-content="advancedSectionTitleCloudPrint"></h3>
    575     <div>
    576       <div>
    577         <span i18n-content="cloudPrintChromeosOptionLabel"></span>
    578         <a target="_blank" i18n-content="learnMore"
    579             i18n-values="href:cloudPrintLearnMoreURL"></a>
    580       </div>
    581       <div class="settings-row">
    582         <button id="cloudPrintManageButton"
    583             i18n-content="cloudPrintChromeosOptionButton"></button>
    584       </div>
    585     </div>
    586   </section>
    587 <if expr="pp_ifdef('chromeos')">
    588   <include src="startup_section.html">
    589 </if>
    590   <section>
    591     <h3 i18n-content="accessibilityTitle"></h3>
    592     <div class="option-control-table">
    593       <p id="accessibility-explanation" class="settings-row">
    594         <span i18n-content="accessibilityExplanation"></span>
    595         <a target="_blank" i18n-content="learnMore"
    596             i18n-values="href:accessibilityLearnMoreURL"></a>
    597       </p>
    598       <div class="option-name">
    599         <div class="checkbox">
    600           <span class="controlled-setting-with-label">
    601             <input id="accessibility-should-always-show-menu"
    602                 pref="settings.a11y.enable_menu" type="checkbox">
    603             <span>
    604               <label for="accessibility-should-always-show-menu"
    605                   i18n-content="accessibilityAlwaysShowMenu">
    606               </label>
    607               <span class="controlled-setting-indicator"
    608                   pref="settings.a11y.enable_menu">
    609             </span>
    610           </span>
    611         </div>
    612       </div>
    613       <div class="option-name">
    614         <div class="checkbox">
    615           <span class="controlled-setting-with-label">
    616             <input id="accessibility-large-cursor-check"
    617                 pref="settings.a11y.large_cursor_enabled" type="checkbox">
    618             <span>
    619               <label for="accessibility-large-cursor-check"
    620                   i18n-content="accessibilityLargeCursor">
    621               </label>
    622               <span class="controlled-setting-indicator"
    623                   pref="settings.a11y.large_cursor_enabled">
    624               </span>
    625             </span>
    626           </span>
    627         </div>
    628       </div>
    629       <div class="option-name">
    630         <div class="checkbox">
    631           <span class="controlled-setting-with-label">
    632             <input id="accessibility-high-contrast-check"
    633                 pref="settings.a11y.high_contrast_enabled" type="checkbox">
    634             <span>
    635               <label for="accessibility-high-contrast-check"
    636                   i18n-content="accessibilityHighContrast">
    637               </label>
    638               <span class="controlled-setting-indicator"
    639                   pref="settings.a11y.high_contrast_enabled">
    640               </span>
    641             </span>
    642           </span>
    643         </div>
    644       </div>
    645       <div id="accessibility-sticky-keys" class="option-name" hidden>
    646         <div class="checkbox">
    647           <span class="controlled-setting-with-label">
    648             <input id="accessibility-sticky-keys-check"
    649                 pref="settings.a11y.sticky_keys_enabled" type="checkbox">
    650             <span>
    651               <label for="accessibility-sticky-keys-check"
    652                   i18n-content="accessibilityStickyKeys">
    653               </label>
    654               <span class="controlled-setting-indicator"
    655                   pref="settings.a11y.sticky_keys_enabled">
    656               </span>
    657             </span>
    658           </span>
    659         </div>
    660       </div>
    661       <div class="option-name">
    662         <div class="checkbox">
    663           <span class="controlled-setting-with-label">
    664             <input id="accessibility-spoken-feedback-check"
    665                 pref="settings.accessibility" type="checkbox">
    666             <span>
    667               <label for="accessibility-spoken-feedback-check"
    668                   i18n-content="accessibilitySpokenFeedback">
    669               </label>
    670               <span class="controlled-setting-indicator"
    671                   pref="settings.accessibility">
    672               </span>
    673             </span>
    674           </span>
    675         </div>
    676       </div>
    677       <div class="option-name">
    678         <div class="checkbox">
    679           <span class="controlled-setting-with-label">
    680             <input id="accessibility-screen-magnifier-check"
    681                 pref="settings.a11y.screen_magnifier" type="checkbox">
    682             <span>
    683               <label for="accessibility-screen-magnifier-check"
    684                   i18n-content="accessibilityScreenMagnifier">
    685               </label>
    686               <span class="controlled-setting-indicator"
    687                   pref="settings.a11y.screen_magnifier">
    688               </span>
    689             </span>
    690           </span>
    691         </div>
    692       </div>
    693       <div class="option-name" id="accessibility-tap-dragging">
    694         <div class="checkbox">
    695           <label>
    696             <input id="accessibility-tap-dragging-check"
    697                 pref="settings.touchpad.enable_tap_dragging" type="checkbox">
    698             <span i18n-content="accessibilityTapDragging"></span>
    699           </label>
    700         </div>
    701       </div>
    702   </section>
    703 <if expr="pp_ifdef('chromeos')">
    704   <section id="factory-reset-section" hidden>
    705     <h3 i18n-content="factoryResetTitle"></h3>
    706     <div>
    707       <span class="settings-row" i18n-content="factoryResetDescription">
    708       </span>
    709       <button id="factory-reset-restart"
    710           i18n-content="factoryResetRestart">
    711       </button>
    712     </div>
    713   </section>
    714 </if>
    715 </if>
    716 <if expr="not pp_ifdef('chromeos')">
    717   <section id="system-section">
    718     <h3 i18n-content="advancedSectionTitleSystem"></h3>
    719 <if expr="not is_macosx">
    720     <div class="checkbox">
    721       <span class="controlled-setting-with-label">
    722         <input id="backgroundModeCheckbox" pref="background_mode.enabled"
    723             type="checkbox">
    724         <span>
    725           <label for="backgroundModeCheckbox"
    726               i18n-content="backgroundModeCheckbox">
    727           </label>
    728           <span class="controlled-setting-indicator"
    729               pref="background_mode.enabled">
    730           </span>
    731         </span>
    732       </span>
    733     </div>
    734 </if>
    735     <div class="checkbox">
    736       <span class="controlled-setting-with-label">
    737         <input id="gpu-mode-checkbox"
    738             pref="hardware_acceleration_mode.enabled" type="checkbox">
    739         <span>
    740           <label for="gpu-mode-checkbox"
    741               i18n-content="gpuModeCheckbox">
    742           </label>
    743           <span id="gpu-mode-reset-restart"
    744               i18n-values=".innerHTML:gpuModeResetRestart">
    745           </span>
    746         </span>
    747       </span>
    748     </div>
    749   </section>
    750 </if>
    751   <section id="reset-profile-settings-section" hidden>
    752     <h3 i18n-content="resetProfileSettingsSectionTitle"></h3>
    753     <div>
    754       <span class="settings-row" i18n-content="resetProfileSettingsDescription">
    755       </span>
    756       <button id="reset-profile-settings" i18n-content="resetProfileSettings">
    757       </button>
    758     </div>
    759   </section>
    760   </div>  <!-- advanced-settings-container -->
    761   </div>  <!-- advanced-settings -->
    762   <footer>
    763     <button id="advanced-settings-expander" class="link-button"
    764         i18n-content="showAdvancedSettings">
    765     </button>
    766   </footer>
    767   </div>
    768