Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / settings / privacy_page / privacy_page.html
blobed0ca8cfe7e8050028a5d7b68217f7e0d8f46cd6
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animatable.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
5 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button.html">
6 <link rel="import" href="chrome://md-settings/certificate_manager_page/certificate_manager_page.html">
7 <link rel="import" href="chrome://md-settings/clear_browsing_data_page/clear_browsing_data_page.html">
8 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html">
9 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pages.html">
10 <link rel="import" href="chrome://md-settings/settings_page/settings_subheader.html">
11 <link rel="import" href="chrome://md-settings/site_settings_page/site_settings_page.html">
13 <dom-module id="cr-settings-privacy-page">
14 <link rel="import" type="css"
15 href="chrome://md-settings/settings_page/settings_page.css">
16 <link rel="import" type="css" href="privacy_page.css">
17 <template>
18 <cr-settings-animated-pages id="pages" current-route="{{currentRoute}}"
19 section="privacy">
20 <neon-animatable id="">
21 <p class="privacy-explanation"
22 i18n-values=".innerHTML:improveBrowsingExperience">
23 </p>
24 <cr-settings-checkbox
25 pref="{{prefs.alternate_error_pages.enabled}}"
26 i18n-values="label:linkDoctorPref">
27 </cr-settings-checkbox>
28 <cr-settings-checkbox
29 pref="{{prefs.search.suggest_enabled}}"
30 i18n-values="label:searchSuggestPref">
31 </cr-settings-checkbox>
32 <cr-settings-checkbox
33 pref="{{prefs.net.network_prediction_options}}"
34 i18n-values="label:networkPredictionEnabled">
35 </cr-settings-checkbox>
36 <cr-settings-checkbox
37 pref="{{prefs.safebrowsing.extended_reporting_enabled}}"
38 i18n-values="label:safeBrowsingEnableExtendedReporting">
39 </cr-settings-checkbox>
40 <cr-settings-checkbox pref="{{prefs.safebrowsing.enabled}}"
41 i18n-values="label:safeBrowsingEnableProtection">
42 </cr-settings-checkbox>
43 <if expr="_google_chrome">
44 <cr-settings-checkbox
45 pref="{{prefs.spellcheck.use_spelling_service}}"
46 i18n-values="label:spellingPref">
47 </cr-settings-checkbox>
48 <if expr="chromeos">
49 <cr-settings-checkbox
50 pref="{{prefs.cros.metrics.reportingEnabled}}"
51 i18n-values="label:enableLogging">
52 </cr-settings-checkbox>
53 </if>
54 <!-- TODO(jlklein): Add non-chromeos metrics box. -->
55 </if>
56 <cr-settings-checkbox pref="{{prefs.enable_do_not_track}}"
57 i18n-values="label:doNotTrack">
58 </cr-settings-checkbox>
59 <if expr="chromeos">
60 <cr-settings-checkbox
61 pref="{{prefs.cros.device.attestation_for_content_protection_enabled}}"
62 i18n-values="label:enableContentProtectionAttestation">
63 </cr-settings-checkbox>
64 <cr-settings-checkbox
65 pref="{{prefs.settings.internet.wake_on_wifi_ssid}}"
66 i18n-values="label:wakeOnWifi">
67 </cr-settings-checkbox>
68 </if>
69 <div class="privacy-buttons layout horizontal end-justified">
70 <cr-button
71 on-tap="onManageCertificatesTap_"
72 i18n-content="manageCertificates">
73 </cr-button>
74 <cr-button
75 on-tap="onSiteSettingsTap_"
76 i18n-content="siteSettings">
77 </cr-button>
78 <cr-button
79 on-tap="onClearBrowsingDataTap_"
80 raised i18n-content="clearBrowsingData">
81 </cr-button>
82 </div>
83 </neon-animatable>
84 <neon-animatable id="manage-certificates">
85 <settings-subheader i18n-values="page-title:manageCertificates">
86 </settings-subheader>
87 <cr-settings-certificate-manager-page>
88 </cr-settings-certificate-manager-page>
89 </neon-animatable>
90 <neon-animatable id="site-settings">
91 <settings-subheader i18n-values="page-title:siteSettings">
92 </settings-subheader>
93 <cr-settings-site-settings-page></cr-settings-site-settings-page>
94 </neon-animatable>
95 <neon-animatable id="clear-browsing-data">
96 <settings-subheader i18n-values="page-title:clearBrowsingData">
97 </settings-subheader>
98 <cr-settings-clear-browsing-data-page>
99 </cr-settings-clear-browsing-data-page>
100 </neon-animatable>
101 </cr-settings-animated-pages>
102 </template>
103 <script src="privacy_page.js"></script>
104 </dom-module>