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

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

Issue 2688073002: MD Settings: For rows containing paper-toggle-buttons, make entire row clickable. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/privacy_page/privacy_page.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/policy/cr_policy_vars_cs s.html"> 2 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_vars_cs s.html">
3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
8 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.html"> 8 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.html">
9 <link rel="import" href="../controls/settings_toggle_button.html"> 9 <link rel="import" href="../controls/settings_toggle_button.html">
10 <link rel="import" href="../lifetime_browser_proxy.html"> 10 <link rel="import" href="../lifetime_browser_proxy.html">
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 label="$i18n{searchSuggestPref}"> 74 label="$i18n{searchSuggestPref}">
75 </settings-toggle-button> 75 </settings-toggle-button>
76 </div> 76 </div>
77 <div class="settings-box" 77 <div class="settings-box"
78 hidden="[[!pageVisibility.networkPrediction]]"> 78 hidden="[[!pageVisibility.networkPrediction]]">
79 <settings-toggle-button class="start" 79 <settings-toggle-button class="start"
80 pref="{{prefs.net.network_prediction_options}}" 80 pref="{{prefs.net.network_prediction_options}}"
81 label="$i18n{networkPredictionEnabled}"> 81 label="$i18n{networkPredictionEnabled}">
82 </settings-toggle-button> 82 </settings-toggle-button>
83 </div> 83 </div>
84 <div class="settings-box"> 84 <div class="settings-box" actionable
85 on-tap="onSafeBrowsingExtendedReportingControlTap_">
85 <div class="start">$i18n{safeBrowsingEnableExtendedReporting}</div> 86 <div class="start">$i18n{safeBrowsingEnableExtendedReporting}</div>
86 <paper-toggle-button id="safeBrowsingExtendedReportingControl" 87 <paper-toggle-button id="safeBrowsingExtendedReportingControl"
87 on-tap="onSafeBrowsingExtendedReportingControlTap_" 88 on-change="onSafeBrowsingExtendedReportingControlTap_"
scottchen 2017/02/10 06:51:02 This is needed to handle dragging, since on-tap do
88 checked="[[safeBrowsingExtendedReportingEnabled_]]"> 89 checked="[[safeBrowsingExtendedReportingEnabled_]]">
89 </paper-toggle-button> 90 </paper-toggle-button>
90 </div> 91 </div>
91 <div class="settings-box"> 92 <div class="settings-box">
92 <settings-toggle-button class="start" 93 <settings-toggle-button class="start"
93 pref="{{prefs.safebrowsing.enabled}}" 94 pref="{{prefs.safebrowsing.enabled}}"
94 label="$i18n{safeBrowsingEnableProtection}"> 95 label="$i18n{safeBrowsingEnableProtection}">
95 </settings-toggle-button> 96 </settings-toggle-button>
96 </div> 97 </div>
97 <if expr="_google_chrome"> 98 <if expr="_google_chrome">
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 <category-setting-exceptions 436 <category-setting-exceptions
436 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}"> 437 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}">
437 </category-setting-exceptions> 438 </category-setting-exceptions>
438 </if> 439 </if>
439 </settings-subpage> 440 </settings-subpage>
440 </template> 441 </template>
441 </settings-animated-pages> 442 </settings-animated-pages>
442 </template> 443 </template>
443 <script src="privacy_page.js"></script> 444 <script src="privacy_page.js"></script>
444 </dom-module> 445 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/privacy_page/privacy_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698