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 c6c14a1e7eaf634b36fa131fafd34ff93636ba63..ae52f2a5c13e58cb212a4b2616a61032ff9d6fe1 100644 |
| --- a/chrome/browser/resources/settings/privacy_page/privacy_page.html |
| +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html |
| @@ -82,9 +82,12 @@ |
| </settings-toggle-button> |
| </div> |
| <div class="settings-box"> |
|
Dan Beam
2017/02/08 23:12:04
actionable or on-tap on the settings-box itself is
dpapad
2017/02/08 23:46:05
Wrapping the <div> and the <paper-toggle-button> w
|
| - <div class="start">$i18n{safeBrowsingEnableExtendedReporting}</div> |
| + <div class="start" on-tap="onSafeBrowsingExtendedReportingTap_" |
| + actionable> |
| + $i18n{safeBrowsingEnableExtendedReporting} |
| + </div> |
| <paper-toggle-button id="safeBrowsingExtendedReportingControl" |
| - on-tap="onSafeBrowsingExtendedReportingControlTap_" |
| + on-tap="onSafeBrowsingExtendedReportingTap_" |
| checked="[[safeBrowsingExtendedReportingEnabled_]]"> |
| </paper-toggle-button> |
| </div> |
| @@ -105,7 +108,10 @@ |
| </if><!-- chromeos --> |
| <if expr="not chromeos"> |
| <div class="settings-box"> |
|
Dan Beam
2017/02/08 23:12:04
in this case we really don't want on-tap on the se
dpapad
2017/02/08 23:46:05
I don't have a 100% understanding of our requireme
Dan Beam
2017/02/09 00:27:40
that's the same for all existing <settings-toggle-
|
| - <div class="start">$i18n{enableLogging}</div> |
| + <div class="start" on-tap="onMetricsReportingTap_" |
| + actionable$="[[!metricsReporting_.managed]]"> |
| + $i18n{enableLogging} |
| + </div> |
| <template is="dom-if" if="[[showRestart_]]" restamp> |
| <paper-button on-tap="onRestartTap_" id="restart"> |
| $i18n{restart} |
| @@ -119,7 +125,7 @@ |
| </paper-tooltip> |
| </template> |
| <paper-toggle-button id="metricsReportingControl" |
| - on-tap="onMetricsReportingControlTap_" |
| + on-tap="onMetricsReportingTap_" |
| checked="[[metricsReporting_.enabled]]" |
| disabled="[[metricsReporting_.managed]]"> |
| </paper-toggle-button> |