OLD | NEW |
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 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/classe
s/iron-flex-layout.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma
terial.html"> | |
4 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button
.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button
.html"> |
5 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html"> | 4 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html"> |
6 | 5 |
7 <dom-module id="cr-settings-privacy-page"> | 6 <dom-module id="cr-settings-privacy-page"> |
8 <link rel="import" type="css" | 7 <link rel="import" type="css" |
9 href="chrome://md-settings/settings_page/settings_page.css"> | 8 href="chrome://md-settings/settings_page/settings_page.css"> |
10 <link rel="import" type="css" href="privacy_page.css"> | 9 <link rel="import" type="css" href="privacy_page.css"> |
11 <template> | 10 <template> |
12 <paper-material> | 11 <p class="privacy-explanation" |
13 <p class="privacy-explanation" | 12 i18n-values=".innerHTML:improveBrowsingExperience"> |
14 i18n-values=".innerHTML:improveBrowsingExperience"> | 13 </p> |
15 </p> | 14 <cr-settings-checkbox |
16 <cr-settings-checkbox | 15 pref="{{prefs.alternate_error_pages.enabled}}" |
17 pref="{{prefs.alternate_error_pages.enabled}}" | 16 i18n-values="label:linkDoctorPref"> |
18 i18n-values="label:linkDoctorPref"> | 17 </cr-settings-checkbox> |
19 </cr-settings-checkbox> | 18 <cr-settings-checkbox |
20 <cr-settings-checkbox | 19 pref="{{prefs.search.suggest_enabled}}" |
21 pref="{{prefs.search.suggest_enabled}}" | 20 i18n-values="label:searchSuggestPref"> |
22 i18n-values="label:searchSuggestPref"> | 21 </cr-settings-checkbox> |
23 </cr-settings-checkbox> | 22 <cr-settings-checkbox |
24 <cr-settings-checkbox | 23 pref="{{prefs.net.network_prediction_options}}" |
25 pref="{{prefs.net.network_prediction_options}}" | 24 i18n-values="label:networkPredictionEnabled"> |
26 i18n-values="label:networkPredictionEnabled"> | 25 </cr-settings-checkbox> |
27 </cr-settings-checkbox> | 26 <cr-settings-checkbox |
28 <cr-settings-checkbox | 27 pref="{{prefs.safebrowsing.extended_reporting_enabled}}" |
29 pref="{{prefs.safebrowsing.extended_reporting_enabled}}" | 28 i18n-values="label:safeBrowsingEnableExtendedReporting"> |
30 i18n-values="label:safeBrowsingEnableExtendedReporting"> | 29 </cr-settings-checkbox> |
31 </cr-settings-checkbox> | 30 <cr-settings-checkbox pref="{{prefs.safebrowsing.enabled}}" |
32 <cr-settings-checkbox pref="{{prefs.safebrowsing.enabled}}" | 31 i18n-values="label:safeBrowsingEnableProtection"> |
33 i18n-values="label:safeBrowsingEnableProtection"> | 32 </cr-settings-checkbox> |
34 </cr-settings-checkbox> | |
35 <if expr="_google_chrome"> | 33 <if expr="_google_chrome"> |
36 <cr-settings-checkbox | 34 <cr-settings-checkbox |
37 pref="{{prefs.spellcheck.use_spelling_service}}" | 35 pref="{{prefs.spellcheck.use_spelling_service}}" |
38 i18n-values="label:spellingPref"> | 36 i18n-values="label:spellingPref"> |
39 </cr-settings-checkbox> | 37 </cr-settings-checkbox> |
40 <if expr="chromeos"> | 38 <if expr="chromeos"> |
41 <cr-settings-checkbox | 39 <cr-settings-checkbox |
42 pref="{{prefs.cros.metrics.reportingEnabled}}" | 40 pref="{{prefs.cros.metrics.reportingEnabled}}" |
43 i18n-values="label:enableLogging"> | 41 i18n-values="label:enableLogging"> |
44 </cr-settings-checkbox> | 42 </cr-settings-checkbox> |
45 </if> | 43 </if> |
46 <!-- TODO(jlklein): Add non-chromeos metrics box. --> | 44 <!-- TODO(jlklein): Add non-chromeos metrics box. --> |
47 </if> | 45 </if> |
48 <cr-settings-checkbox pref="{{prefs.enable_do_not_track}}" | 46 <cr-settings-checkbox pref="{{prefs.enable_do_not_track}}" |
49 i18n-values="label:doNotTrack"> | 47 i18n-values="label:doNotTrack"> |
50 </cr-settings-checkbox> | 48 </cr-settings-checkbox> |
51 <if expr="chromeos"> | 49 <if expr="chromeos"> |
52 <cr-settings-checkbox | 50 <cr-settings-checkbox |
53 pref="{{prefs.cros.device.attestation_for_content_protection_enabled}}
" | 51 pref="{{prefs.cros.device.attestation_for_content_protection_enabled}}" |
54 i18n-values="label:enableContentProtectionAttestation"> | 52 i18n-values="label:enableContentProtectionAttestation"> |
55 </cr-settings-checkbox> | 53 </cr-settings-checkbox> |
56 <cr-settings-checkbox | 54 <cr-settings-checkbox |
57 pref="{{prefs.settings.internet.wake_on_wifi_ssid}}" | 55 pref="{{prefs.settings.internet.wake_on_wifi_ssid}}" |
58 i18n-values="label:wakeOnWifi"> | 56 i18n-values="label:wakeOnWifi"> |
59 </cr-settings-checkbox> | 57 </cr-settings-checkbox> |
60 </if> | 58 </if> |
61 <div class="privacy-buttons layout horizontal end-justified"> | 59 <div class="privacy-buttons layout horizontal end-justified"> |
62 <cr-button i18n-content="siteSettingsLabel"></cr-button> | 60 <cr-button i18n-content="siteSettingsLabel"></cr-button> |
63 <cr-button raised i18n-content="clearBrowsingDataLabel"> | 61 <cr-button raised i18n-content="clearBrowsingDataLabel"> |
64 </cr-button> | 62 </cr-button> |
65 </div> | 63 </div> |
66 </paper-material> | |
67 </template> | 64 </template> |
68 <script src="privacy_page.js"></script> | 65 <script src="privacy_page.js"></script> |
69 </dom-module> | 66 </dom-module> |
OLD | NEW |