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

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

Issue 2731403005: MD Settings: Privacy: Show dialog when changing do-not-track (Closed)
Patch Set: . Created 3 years, 9 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/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
2 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_vars_cs s.html"> 3 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_vars_cs s.html">
3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 4 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
9 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.html"> 10 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.html">
10 <link rel="import" href="../controls/settings_toggle_button.html"> 11 <link rel="import" href="../controls/settings_toggle_button.html">
11 <link rel="import" href="../lifetime_browser_proxy.html"> 12 <link rel="import" href="../lifetime_browser_proxy.html">
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 <paper-button on-tap="onRestartTap_" id="restart" 103 <paper-button on-tap="onRestartTap_" id="restart"
103 class="more-actions"> 104 class="more-actions">
104 $i18n{restart} 105 $i18n{restart}
105 </paper-button> 106 </paper-button>
106 </template> 107 </template>
107 </settings-toggle-button> 108 </settings-toggle-button>
108 </div> 109 </div>
109 </if><!-- not chromeos --> 110 </if><!-- not chromeos -->
110 </if><!-- _google_chrome --> 111 </if><!-- _google_chrome -->
111 <div class="settings-box"> 112 <div class="settings-box">
112 <settings-toggle-button class="start" 113 <template is="dom-if" if="[[showDoNotTrackDialog_]]">
Dan Beam 2017/03/09 02:08:33 id="do-not-track-dialog-if"
stevenjb 2017/03/09 20:06:26 Acknowledged.
113 pref="{{prefs.enable_do_not_track}}" 114 <dialog is="cr-dialog" id="confirmDoNotTrackDialog"
114 label="$i18n{doNotTrack}"> 115 close-text="$i18n{close}" on-cancel="onDoNotTrackDialogCancel_">
116 <div class="title">$i18n{doNotTrackDialogTitle}</div>
117 <div class="body">$i18n{doNotTrackDialogMessage}</div>
118 <div class="button-container">
119 <paper-button class="cancel-button"
120 on-tap="onDoNotTrackDialogCancel_">
121 $i18n{cancel}
122 </paper-button>
123 <paper-button class="action-button"
124 on-tap="onDoNotTrackDialogConfirm_">
125 $i18n{confirm}
126 </paper-button>
127 </div>
128 </dialog>
129 </template>
130 <settings-toggle-button id="doNotTrack" class="start"
131 pref="{{prefs.enable_do_not_track}}" label="$i18n{doNotTrack}"
132 on-change="onDoNotTrackChange_" no-set-pref>
115 </settings-toggle-button> 133 </settings-toggle-button>
116 </div> 134 </div>
117 <if expr="chromeos"> 135 <if expr="chromeos">
118 <div class="settings-box"> 136 <div class="settings-box">
119 <settings-toggle-button class="start" 137 <settings-toggle-button class="start"
120 pref="{{prefs.cros.device.attestation_for_content_protection_enabl ed}}" 138 pref="{{prefs.cros.device.attestation_for_content_protection_enabl ed}}"
121 label="$i18n{enableContentProtectionAttestation}"> 139 label="$i18n{enableContentProtectionAttestation}">
122 </settings-toggle-button> 140 </settings-toggle-button>
123 </div> 141 </div>
124 <div class="settings-box"> 142 <div class="settings-box">
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}"> 471 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}">
454 </category-setting-exceptions> 472 </category-setting-exceptions>
455 </template> 473 </template>
456 </if> 474 </if>
457 </settings-subpage> 475 </settings-subpage>
458 </template> 476 </template>
459 </settings-animated-pages> 477 </settings-animated-pages>
460 </template> 478 </template>
461 <script src="privacy_page.js"></script> 479 <script src="privacy_page.js"></script>
462 </dom-module> 480 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698