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

Side by Side Diff: chrome/browser/resources/settings/controls/controlled_button.html

Issue 2210043002: MD Settings: add tests for <controlled-button> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: michaelpg@ review Created 4 years, 4 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/assert.html">
1 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
3 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_be havior.html"> 4 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_be havior.html">
4 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html"> 5 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html">
5 <link rel="import" href="/controls/pref_control_behavior.html"> 6 <link rel="import" href="/controls/pref_control_behavior.html">
6 <link rel="import" href="/settings_shared_css.html"> 7 <link rel="import" href="/settings_shared_css.html">
7 8
8 <dom-module id="controlled-button"> 9 <dom-module id="controlled-button">
9 <template> 10 <template>
10 <style include="settings-shared"> 11 <style include="settings-shared">
(...skipping 21 matching lines...) Expand all
32 </paper-button> 33 </paper-button>
33 34
34 <template is="dom-if" if="[[controlled_]]"> 35 <template is="dom-if" if="[[controlled_]]">
35 <cr-policy-pref-indicator pref="[[pref]]" on-tap="onIndicatorTap_"> 36 <cr-policy-pref-indicator pref="[[pref]]" on-tap="onIndicatorTap_">
36 </cr-policy-pref-indicator> 37 </cr-policy-pref-indicator>
37 </template> 38 </template>
38 39
39 </template> 40 </template>
40 <script src="/controls/controlled_button.js"></script> 41 <script src="/controls/controlled_button.js"></script>
41 </dom-module> 42 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698