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

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

Issue 1241363002: Settings Rewrite: Make a common settings-section component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0300-webui-settings-structure
Patch Set: Created 5 years, 5 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
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"
9 href="chrome://md-settings/settings_page/settings_page.css">
10 <link rel="import" type="css" href="privacy_page.css"> 7 <link rel="import" type="css" href="privacy_page.css">
11 <template> 8 <template>
12 <paper-material> 9 <p class="privacy-explanation"
13 <p class="privacy-explanation" 10 i18n-values=".innerHTML:improveBrowsingExperience">
14 i18n-values=".innerHTML:improveBrowsingExperience"> 11 </p>
15 </p> 12 <cr-settings-checkbox
16 <cr-settings-checkbox 13 pref="{{prefs.alternate_error_pages.enabled}}"
17 pref="{{prefs.alternate_error_pages.enabled}}" 14 i18n-values="label:linkDoctorPref">
18 i18n-values="label:linkDoctorPref"> 15 </cr-settings-checkbox>
19 </cr-settings-checkbox> 16 <cr-settings-checkbox
20 <cr-settings-checkbox 17 pref="{{prefs.search.suggest_enabled}}"
21 pref="{{prefs.search.suggest_enabled}}" 18 i18n-values="label:searchSuggestPref">
22 i18n-values="label:searchSuggestPref"> 19 </cr-settings-checkbox>
23 </cr-settings-checkbox> 20 <cr-settings-checkbox
24 <cr-settings-checkbox 21 pref="{{prefs.net.network_prediction_options}}"
25 pref="{{prefs.net.network_prediction_options}}" 22 i18n-values="label:networkPredictionEnabled">
26 i18n-values="label:networkPredictionEnabled"> 23 </cr-settings-checkbox>
27 </cr-settings-checkbox> 24 <cr-settings-checkbox
28 <cr-settings-checkbox 25 pref="{{prefs.safebrowsing.extended_reporting_enabled}}"
29 pref="{{prefs.safebrowsing.extended_reporting_enabled}}" 26 i18n-values="label:safeBrowsingEnableExtendedReporting">
30 i18n-values="label:safeBrowsingEnableExtendedReporting"> 27 </cr-settings-checkbox>
31 </cr-settings-checkbox> 28 <cr-settings-checkbox pref="{{prefs.safebrowsing.enabled}}"
32 <cr-settings-checkbox pref="{{prefs.safebrowsing.enabled}}" 29 i18n-values="label:safeBrowsingEnableProtection">
33 i18n-values="label:safeBrowsingEnableProtection"> 30 </cr-settings-checkbox>
34 </cr-settings-checkbox>
35 <if expr="_google_chrome"> 31 <if expr="_google_chrome">
36 <cr-settings-checkbox 32 <cr-settings-checkbox
37 pref="{{prefs.spellcheck.use_spelling_service}}" 33 pref="{{prefs.spellcheck.use_spelling_service}}"
38 i18n-values="label:spellingPref"> 34 i18n-values="label:spellingPref">
39 </cr-settings-checkbox> 35 </cr-settings-checkbox>
40 <if expr="chromeos"> 36 <if expr="chromeos">
41 <cr-settings-checkbox 37 <cr-settings-checkbox
42 pref="{{prefs.cros.metrics.reportingEnabled}}" 38 pref="{{prefs.cros.metrics.reportingEnabled}}"
43 i18n-values="label:enableLogging"> 39 i18n-values="label:enableLogging">
44 </cr-settings-checkbox> 40 </cr-settings-checkbox>
45 </if> 41 </if>
46 <!-- TODO(jlklein): Add non-chromeos metrics box. --> 42 <!-- TODO(jlklein): Add non-chromeos metrics box. -->
47 </if> 43 </if>
48 <cr-settings-checkbox pref="{{prefs.enable_do_not_track}}" 44 <cr-settings-checkbox pref="{{prefs.enable_do_not_track}}"
49 i18n-values="label:doNotTrack"> 45 i18n-values="label:doNotTrack">
50 </cr-settings-checkbox> 46 </cr-settings-checkbox>
51 <if expr="chromeos"> 47 <if expr="chromeos">
52 <cr-settings-checkbox 48 <cr-settings-checkbox
53 pref="{{prefs.cros.device.attestation_for_content_protection_enabled}} " 49 pref="{{prefs.cros.device.attestation_for_content_protection_enabled}}"
54 i18n-values="label:enableContentProtectionAttestation"> 50 i18n-values="label:enableContentProtectionAttestation">
55 </cr-settings-checkbox> 51 </cr-settings-checkbox>
56 <cr-settings-checkbox 52 <cr-settings-checkbox
57 pref="{{prefs.settings.internet.wake_on_wifi_ssid}}" 53 pref="{{prefs.settings.internet.wake_on_wifi_ssid}}"
58 i18n-values="label:wakeOnWifi"> 54 i18n-values="label:wakeOnWifi">
59 </cr-settings-checkbox> 55 </cr-settings-checkbox>
60 </if> 56 </if>
61 <div class="privacy-buttons layout horizontal end-justified"> 57 <div class="privacy-buttons layout horizontal end-justified">
62 <cr-button i18n-content="siteSettingsLabel"></cr-button> 58 <cr-button i18n-content="siteSettingsLabel"></cr-button>
63 <cr-button raised i18n-content="clearBrowsingDataLabel"> 59 <cr-button raised i18n-content="clearBrowsingDataLabel">
64 </cr-button> 60 </cr-button>
65 </div> 61 </div>
66 </paper-material>
67 </template> 62 </template>
68 <script src="privacy_page.js"></script> 63 <script src="privacy_page.js"></script>
69 </dom-module> 64 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698