Home | History | Annotate | Download | only in options
      1 <div id="advancedPage" class="page hidden">
      2   <h1 i18n-content="advancedPage"></h1>
      3   <section>
      4     <h3 i18n-content="advancedSectionTitlePrivacy"></h3>
      5     <div>
      6       <div class="section-group">
      7         <button id="privacyContentSettingsButton"
      8             i18n-content="privacyContentSettingsButton"></button>
      9         <button id="privacyClearDataButton"
     10             i18n-content="privacyClearDataButton"></button>
     11       </div>
     12       <div i18n-content="improveBrowsingExperience" class="informational-text">
     13       </div>
     14       <div>
     15         <span i18n-content="disableWebServices" class="informational-text">
     16         </span>
     17         <a target="_blank" i18n-content="learnMore"
     18             i18n-values="href:privacyLearnMoreURL"></a>
     19       </div>
     20       <div class="checkbox">
     21         <label>
     22           <input id="alternateErrorPagesEnabled" pref="alternate_error_pages.enabled"
     23               metric="Options_LinkDoctorCheckbox" type="checkbox">
     24           <span i18n-content="linkDoctorPref"></span>
     25         </label>
     26       </div>
     27       <div class="checkbox">
     28         <label>
     29           <input id="searchSuggestEnabled" pref="search.suggest_enabled"
     30               metric="Options_UseSuggestCheckbox" type="checkbox">
     31           <span i18n-content="suggestPref"></span>
     32         </label>
     33       </div>
     34       <div class="checkbox">
     35         <label>
     36           <input id="dnsPrefetchingEnabled" pref="dns_prefetching.enabled"
     37               metric="Options_DnsPrefetchCheckbox" type="checkbox">
     38           <span i18n-content="networkPredictionEnabledDescription"></span>
     39         </label>
     40       </div>
     41       <div class="checkbox">
     42         <label>
     43           <input id="safeBrowsingEnabled" pref="safebrowsing.enabled"
     44               metric="Options_SafeBrowsingCheckbox" type="checkbox">
     45           <span i18n-content="safeBrowsingEnableProtection"></span>
     46         </label>
     47       </div>
     48 <if expr="pp_ifdef('_google_chrome') and pp_ifdef('chromeos')">
     49       <div class="checkbox" id="metricsReportingSetting">
     50         <label>
     51           <input id="metricsReportingEnabled"
     52               pref="cros.metrics.reportingEnabled" type="checkbox">
     53           <span i18n-content="enableLogging" id="metricsReportingEnabledText">
     54           </span>
     55         </label>
     56       </div>
     57 </if>
     58 <if expr="pp_ifdef('_google_chrome') and not pp_ifdef('chromeos')">
     59       <div class="checkbox" id="metricsReportingSetting">
     60         <label>
     61           <input id="metricsReportingEnabled" type="checkbox">
     62           <span i18n-content="enableLogging"></span>
     63         </label>
     64       </div>
     65 </if>
     66     </div>
     67   </section>
     68   <section>
     69     <h3 i18n-content="advancedSectionTitleContent"></h3>
     70     <div>
     71       <div class="section-group">
     72         <label class="web-content-select-label">
     73           <span i18n-content="defaultFontSizeLabel"></span>
     74           <select id="defaultFontSize">
     75             <option value="9" i18n-content="fontSizeLabelVerySmall"></option>
     76             <option value="12" i18n-content="fontSizeLabelSmall"></option>
     77             <option value="16" i18n-content="fontSizeLabelMedium"></option>
     78             <option value="20" i18n-content="fontSizeLabelLarge"></option>
     79             <option value="24" i18n-content="fontSizeLabelVeryLarge"></option>
     80           </select>
     81         </label>
     82         <button id="fontSettingsCustomizeFontsButton"
     83             i18n-content="fontSettingsCustomizeFontsButton"></button>
     84       </div>
     85       <div class="section-group">
     86         <label class="web-content-select-label">
     87           <span i18n-content="defaultZoomLevelLabel"></span>
     88           <select id="defaultZoomLevel" pref="profile.default_zoom_level"
     89                   dataType="double" metric="Options_ChangeDefaultZoomLevel">
     90             <option value="-3">57%</option>
     91             <option value="-2">69%</option>
     92             <option value="-1">83%</option>
     93             <option value="0">100%</option>
     94             <option value="1">120%</option>
     95             <option value="2">144%</option>
     96             <option value="3">172%</option>
     97             <option value="4">207%</option>
     98             <option value="5">248%</option>
     99             <option value="6">298%</option>
    100           </select>
    101         </label>
    102       </div>
    103 <if expr="not pp_ifdef('chromeos') or os == 'win32'">
    104       <div class="section-group">
    105 </if>
    106 <if expr="not pp_ifdef('chromeos')">
    107         <button id="language-button"
    108             i18n-content="languageAndSpellCheckSettingsButton"></button>
    109 </if>
    110 <if expr="not pp_ifdef('chromeos') or os == 'win32'">
    111       </div>
    112 </if>
    113 <if expr="os == 'darwin'">
    114       <div class="checkbox">
    115         <label>
    116           <input id="tabsToLinksPref" pref="webkit.webprefs.tabs_to_links"
    117               metric="Options_TabsToLinks" type="checkbox">
    118           <span i18n-content="tabsToLinksPref"></span>
    119         </label>
    120       </div>
    121 </if>
    122     </div>
    123   </section>
    124   <section>
    125     <h3 i18n-content="advancedSectionTitleNetwork"></h3>
    126     <div>
    127       <div id="proxiesLabel"></div>
    128       <div class="section-group">
    129         <button id="proxiesConfigureButton"
    130             i18n-content="proxiesConfigureButton"></button>
    131       </div>
    132     </div>
    133   </section>
    134   <section>
    135     <h3 i18n-content="advancedSectionTitleTranslate"></h3>
    136     <div class="checkbox">
    137       <label>
    138         <input id="enableTranslate" pref="translate.enabled"
    139             metric="Options_Translate" type="checkbox">
    140         <span i18n-content="translateEnableTranslate"></span>
    141       </label>
    142     </div>
    143   </section>
    144 <if expr="not pp_ifdef('chromeos')">
    145   <section>
    146     <h3 i18n-content="downloadLocationGroupName"></h3>
    147     <div>
    148       <div id="download-location-group">
    149         <label>
    150           <span i18n-content="downloadLocationBrowseTitle"></span>
    151           <input id="downloadLocationPath" type="text" size="36" disabled>
    152         </label>
    153         <button id="downloadLocationChangeButton"
    154             i18n-content="downloadLocationChangeButton"></button>
    155       </div>
    156       <div class="checkbox">
    157         <label>
    158           <input id="promptForDownload" metric="Options_AskForSaveLocation"
    159               type="checkbox">
    160           <span id="promptForDownloadLabel"
    161               i18n-content="downloadLocationAskForSaveLocation"></span>
    162         </label>
    163       </div>
    164       <div id="auto-open-file-types-label"
    165           i18n-content="autoOpenFileTypesInfo"></div>
    166       <div class="section-group">
    167         <button id="autoOpenFileTypesResetToDefault"
    168             i18n-content="autoOpenFileTypesResetToDefault"></button>
    169       </div>
    170     </div>
    171   </section>
    172 </if>
    173   <section>
    174     <h3 i18n-content="advancedSectionTitleSecurity"></h3>
    175     <div>
    176       <div><button id="certificatesManageButton"
    177           i18n-content="certificatesManageButton"></button></div>
    178       <div class="checkbox">
    179         <label>
    180           <input id="sslCheckRevocation" type="checkbox">
    181           <span i18n-content="sslCheckRevocation"></span>
    182         </label>
    183       </div>
    184       <div class="checkbox">
    185         <label>
    186           <input id="sslUseSSL3" type="checkbox">
    187           <span i18n-content="sslUseSSL3"></span>
    188         </label>
    189       </div>
    190       <div class="checkbox">
    191         <label>
    192           <input id="sslUseTLS1" type="checkbox">
    193           <span i18n-content="sslUseTLS1"></span>
    194         </label>
    195       </div>
    196     </div>
    197   </section>
    198 <if expr="not pp_ifdef('chromeos')">
    199   <section id="cloud-print-proxy-section">
    200     <h3 i18n-content="advancedSectionTitleCloudPrint"></h3>
    201     <div>
    202       <div id="cloudPrintProxyLabel"
    203            i18n-content="cloudPrintProxyDisabledLabel"></div>
    204       <div class="section-group">
    205         <button id="cloudPrintProxySetupButton"
    206                 i18n-content="cloudPrintProxyDisabledButton"></button>
    207         <button id="cloudPrintProxyManageButton"
    208                 i18n-content="cloudPrintProxyEnabledManageButton"></button>
    209       </div>
    210     </div>
    211   </section>
    212 </if>
    213 <if expr="pp_ifdef('remoting') and not pp_ifdef('chromeos')">
    214   <section id="remoting-section">
    215     <h3 i18n-content="advancedSectionTitleRemoting"></h3>
    216     <div>
    217       <div id="remotingStatus" class="section-text"></div>
    218       <div class="section-group">
    219         <button id="remotingSetupButton"
    220                 i18n-content="remotingSetupButton"
    221                 style="display:none;"></button>
    222         <button id="remotingStopButton"
    223                 i18n-content="remotingStopButton"
    224                 style="display:none;"></button>
    225       </div>
    226     </div>
    227   </section>
    228 </if>
    229 </div>
    230