Index: chrome/browser/resources/settings/privacy_page/privacy_page.html |
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.html b/chrome/browser/resources/settings/privacy_page/privacy_page.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6e147e1d8be188106af80881fd718307e23a99ea |
--- /dev/null |
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html |
@@ -0,0 +1,68 @@ |
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html"> |
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-material.html"> |
+<link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button.html"> |
+<link rel="import" href="chrome://md-settings/checkbox/checkbox.html"> |
+ |
+<dom-module id="cr-settings-privacy-page"> |
+ <link rel="import" type="css" |
+ href="chrome://md-settings/settings_page/settings_page.css"> |
+ <link rel="import" type="css" href="privacy_page.css"> |
+ <template> |
+ <paper-material> |
+ <p class="privacy-explanation" |
+ i18n-values=".innerHTML:privacyImproveBrowsingExperience"></p> |
+ <cr-settings-checkbox |
+ pref="{{prefs.alternate_error_pages.enabled}}" |
+ i18n-values="label:linkDoctorPref"> |
+ </cr-settings-checkbox> |
+ <cr-settings-checkbox |
+ pref="{{prefs.search.suggest_enabled}}" |
+ i18n-values="label:searchSuggestPref"> |
+ </cr-settings-checkbox> |
+ <cr-settings-checkbox |
+ pref="{{prefs.net.network_prediction_options}}" |
+ i18n-values="label:networkPredictionEnabled"> |
+ </cr-settings-checkbox> |
+ <cr-settings-checkbox |
+ pref="{{prefs.safebrowsing.extended_reporting_enabled}}" |
+ i18n-values="label:safeBrowsingEnableExtendedReporting"> |
+ </cr-settings-checkbox> |
+ <cr-settings-checkbox pref="{{prefs.safebrowsing.enabled}}" |
+ i18n-values="label:safeBrowsingEnableProtection"> |
+ </cr-settings-checkbox> |
+<if expr="_google_chrome"> |
+ <cr-settings-checkbox |
+ pref="{{prefs.spellcheck.use_spelling_service}}" |
+ i18n-values="label:spellingPref"> |
+ </cr-settings-checkbox> |
+<if expr="chromeos"> |
+ <cr-settings-checkbox |
+ pref="{{prefs.cros.metrics.reportingEnabled}}" |
+ i18n-values="label:enableLogging"> |
+ </cr-settings-checkbox> |
+</if> |
+ <!-- TODO(jlklein): Add non-chromeos metrics box. --> |
+</if> |
+ <cr-settings-checkbox pref="{{prefs.enable_do_not_track}}" |
+ i18n-values="label:doNotTrack"> |
+ </cr-settings-checkbox> |
+<if expr="chromeos"> |
+ <cr-settings-checkbox |
+ pref="{{prefs.cros.device.attestation_for_content_protection_enabled}}" |
+ i18n-values="label:enableContentProtectionAttestation"> |
+ </cr-settings-checkbox> |
+ <cr-settings-checkbox |
+ pref="{{prefs.settings.internet.wake_on_wifi_ssid}}" |
+ i18n-values="label:wakeOnWifi"> |
+ </cr-settings-checkbox> |
+</if> |
+ |
+ <div class="privacy-buttons layout horizontal end-justified"> |
+ <cr-button i18n-content="privacySiteSettingsLabel"></cr-button> |
+ <cr-button raised i18n-content="privacyClearBrowsingDataLabel"></cr-button> |
+ </div> |
+ </paper-material> |
+ </template> |
+ <script src="privacy_page.js"></script> |
+</dom-module> |