Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Side by Side Diff: chrome/browser/resources/settings/privacy_page/privacy_page.html

Issue 1168793002: Add an initial implementation of the Privacy Page. No subpages yet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove copy pasta Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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">
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">
5 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html">
6
7 <dom-module id="cr-settings-privacy-page">
8 <link rel="import" type="css"
9 href="chrome://md-settings/settings_page/settings_page.css">
10 <link rel="import" type="css" href="privacy_page.css">
11 <template>
12 <paper-material>
13 <p class="privacy-explanation"
14 i18n-values=".innerHTML:privacyImproveBrowsingExperience"></p>
15 <cr-settings-checkbox
16 pref="{{prefs.alternate_error_pages.enabled}}"
17 i18n-values="label:linkDoctorPref">
18 </cr-settings-checkbox>
19 <cr-settings-checkbox
20 pref="{{prefs.search.suggest_enabled}}"
21 i18n-values="label:searchSuggestPref">
22 </cr-settings-checkbox>
23 <cr-settings-checkbox
24 pref="{{prefs.net.network_prediction_options}}"
25 i18n-values="label:networkPredictionEnabled">
26 </cr-settings-checkbox>
27 <cr-settings-checkbox
28 pref="{{prefs.safebrowsing.extended_reporting_enabled}}"
29 i18n-values="label:safeBrowsingEnableExtendedReporting">
30 </cr-settings-checkbox>
31 <cr-settings-checkbox pref="{{prefs.safebrowsing.enabled}}"
32 i18n-values="label:safeBrowsingEnableProtection">
33 </cr-settings-checkbox>
34 <if expr="_google_chrome">
35 <cr-settings-checkbox
36 pref="{{prefs.spellcheck.use_spelling_service}}"
37 i18n-values="label:spellingPref">
38 </cr-settings-checkbox>
39 <if expr="chromeos">
40 <cr-settings-checkbox
41 pref="{{prefs.cros.metrics.reportingEnabled}}"
42 i18n-values="label:enableLogging">
43 </cr-settings-checkbox>
44 </if>
45 <!-- TODO(jlklein): Add non-chromeos metrics box. -->
46 </if>
47 <cr-settings-checkbox pref="{{prefs.enable_do_not_track}}"
48 i18n-values="label:doNotTrack">
49 </cr-settings-checkbox>
50 <if expr="chromeos">
51 <cr-settings-checkbox
52 pref="{{prefs.cros.device.attestation_for_content_protection_enabled}} "
53 i18n-values="label:enableContentProtectionAttestation">
54 </cr-settings-checkbox>
55 <cr-settings-checkbox
56 pref="{{prefs.settings.internet.wake_on_wifi_ssid}}"
57 i18n-values="label:wakeOnWifi">
58 </cr-settings-checkbox>
59 </if>
60
61 <div class="privacy-buttons layout horizontal end-justified">
62 <cr-button i18n-content="privacySiteSettingsLabel"></cr-button>
63 <cr-button raised i18n-content="privacyClearBrowsingDataLabel"></cr-butt on>
64 </div>
65 </paper-material>
66 </template>
67 <script src="privacy_page.js"></script>
68 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698