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

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: jhawkins's comments 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">
15 </p>
16 <cr-settings-checkbox
17 pref="{{prefs.alternate_error_pages.enabled}}"
18 i18n-values="label:linkDoctorPref">
19 </cr-settings-checkbox>
20 <cr-settings-checkbox
21 pref="{{prefs.search.suggest_enabled}}"
22 i18n-values="label:searchSuggestPref">
23 </cr-settings-checkbox>
24 <cr-settings-checkbox
25 pref="{{prefs.net.network_prediction_options}}"
26 i18n-values="label:networkPredictionEnabled">
27 </cr-settings-checkbox>
28 <cr-settings-checkbox
29 pref="{{prefs.safebrowsing.extended_reporting_enabled}}"
30 i18n-values="label:safeBrowsingEnableExtendedReporting">
31 </cr-settings-checkbox>
32 <cr-settings-checkbox pref="{{prefs.safebrowsing.enabled}}"
33 i18n-values="label:safeBrowsingEnableProtection">
34 </cr-settings-checkbox>
35 <if expr="_google_chrome">
36 <cr-settings-checkbox
37 pref="{{prefs.spellcheck.use_spelling_service}}"
38 i18n-values="label:spellingPref">
39 </cr-settings-checkbox>
40 <if expr="chromeos">
41 <cr-settings-checkbox
42 pref="{{prefs.cros.metrics.reportingEnabled}}"
43 i18n-values="label:enableLogging">
44 </cr-settings-checkbox>
45 </if>
46 <!-- TODO(jlklein): Add non-chromeos metrics box. -->
47 </if>
48 <cr-settings-checkbox pref="{{prefs.enable_do_not_track}}"
49 i18n-values="label:doNotTrack">
50 </cr-settings-checkbox>
51 <if expr="chromeos">
52 <cr-settings-checkbox
53 pref="{{prefs.cros.device.attestation_for_content_protection_enabled}} "
James Hawkins 2015/06/09 16:30:32 :-/ This is unfortunate
Jeremy Klein 2015/06/09 18:13:52 Yeah... stupid giant names. Not sure there's much
54 i18n-values="label:enableContentProtectionAttestation">
55 </cr-settings-checkbox>
56 <cr-settings-checkbox
57 pref="{{prefs.settings.internet.wake_on_wifi_ssid}}"
58 i18n-values="label:wakeOnWifi">
59 </cr-settings-checkbox>
60 </if>
61
James Hawkins 2015/06/09 16:30:32 Optional nit: Use whitespace consistently. You do
Jeremy Klein 2015/06/09 18:13:52 Done.
62 <div class="privacy-buttons layout horizontal end-justified">
63 <cr-button i18n-content="privacySiteSettingsLabel"></cr-button>
64 <cr-button raised i18n-content="privacyClearBrowsingDataLabel">
65 </cr-button>
66 </div>
67 </paper-material>
68 </template>
69 <script src="privacy_page.js"></script>
70 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698