Chromium Code Reviews| Index: chrome/browser/resources/settings/privacy_page/privacy_page.html |
| diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.html b/chrome/browser/resources/settings/privacy_page/privacy_page.html |
| index 4bf462434a60e6f650baab76ea9c82b6e52718f2..ec79c623ae370e14fcdbf596ae800f544c47d369 100644 |
| --- a/chrome/browser/resources/settings/privacy_page/privacy_page.html |
| +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html |
| @@ -81,10 +81,12 @@ |
| label="$i18n{networkPredictionEnabled}"> |
| </settings-toggle-button> |
| </div> |
| - <div class="settings-box"> |
| + <div class="settings-box" actionable |
| + on-tap="onSafeBrowsingExtendedReportingControlTap_"> |
| <div class="start">$i18n{safeBrowsingEnableExtendedReporting}</div> |
| <paper-toggle-button id="safeBrowsingExtendedReportingControl" |
| - on-tap="onSafeBrowsingExtendedReportingControlTap_" |
| + on-change="onSafeBrowsingExtendedReportingControlTap_" |
|
Dan Beam
2017/02/10 17:20:36
while your mouse is down dragging, other toggles c
scottchen
2017/02/10 18:49:57
it does - see https://drive.google.com/open?id=0By
|
| + on-tap="doNothing_" |
|
Dan Beam
2017/02/10 17:20:36
this is very similar to
https://codereview.chromiu
scottchen
2017/02/10 18:49:57
I think this can be handled if we encapsulate it i
|
| checked="[[safeBrowsingExtendedReportingEnabled_]]"> |
| </paper-toggle-button> |
| </div> |
| @@ -104,7 +106,8 @@ |
| </div> |
| </if><!-- chromeos --> |
| <if expr="not chromeos"> |
| - <div class="settings-box"> |
| + <div class="settings-box" on-tap="onMetricsReportingControlTap_" |
| + actionable$="[[!metricsReporting_.managed]]"> |
| <div class="start">$i18n{enableLogging}</div> |
| <template is="dom-if" if="[[showRestart_]]" restamp> |
| <paper-button on-tap="onRestartTap_" id="restart"> |
| @@ -119,7 +122,7 @@ |
| </paper-tooltip> |
| </template> |
| <paper-toggle-button id="metricsReportingControl" |
| - on-tap="onMetricsReportingControlTap_" |
| + on-change="onMetricsReportingControlTap_" on-tap="doNothing_" |
| checked="[[metricsReporting_.enabled]]" |
| disabled="[[metricsReporting_.managed]]"> |
| </paper-toggle-button> |