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

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"> 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"> 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"> 5 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html">
6 6
7 <dom-module id="cr-settings-privacy-page"> 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"> 8 <link rel="import" type="css" href="privacy_page.css">
11 <template> 9 <template>
12 <paper-material> 10 <cr-settings-section page-title="[[pageTitle]]" icon="[[icon]]">
13 <p class="privacy-explanation" 11 <p class="privacy-explanation"
14 i18n-values=".innerHTML:improveBrowsingExperience"> 12 i18n-values=".innerHTML:improveBrowsingExperience">
15 </p> 13 </p>
16 <cr-settings-checkbox 14 <cr-settings-checkbox
17 pref="{{prefs.alternate_error_pages.enabled}}" 15 pref="{{prefs.alternate_error_pages.enabled}}"
18 i18n-values="label:linkDoctorPref"> 16 i18n-values="label:linkDoctorPref">
19 </cr-settings-checkbox> 17 </cr-settings-checkbox>
20 <cr-settings-checkbox 18 <cr-settings-checkbox
21 pref="{{prefs.search.suggest_enabled}}" 19 pref="{{prefs.search.suggest_enabled}}"
22 i18n-values="label:searchSuggestPref"> 20 i18n-values="label:searchSuggestPref">
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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> 64 </cr-settings-section>
67 </template> 65 </template>
68 <script src="privacy_page.js"></script> 66 <script src="privacy_page.js"></script>
69 </dom-module> 67 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698