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