OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 |
1 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in
dicator.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in
dicator.html"> |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.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/iron-flex-layout/iron-f
lex-layout-classes.html"> |
5 <link rel="import" href="settings_boolean_control_behavior.html"> | 6 <link rel="import" href="settings_boolean_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="settings-toggle-button"> | 9 <dom-module id="settings-toggle-button"> |
9 <template> | 10 <template> |
10 <style include="settings-shared iron-flex"> | 11 <style include="settings-shared iron-flex"> |
11 :host([elide-label]), | 12 :host([elide-label]), |
12 :host([elide-label]) #outerRow, | 13 :host([elide-label]) #outerRow, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 </template> | 53 </template> |
53 <paper-toggle-button id="control" checked="{{checked}}" | 54 <paper-toggle-button id="control" checked="{{checked}}" |
54 on-change="notifyChangedByUserInteraction" aria-labelledby="label" | 55 on-change="notifyChangedByUserInteraction" aria-labelledby="label" |
55 aria-describedby="subLabel" | 56 aria-describedby="subLabel" |
56 disabled="[[controlDisabled_(disabled, pref)]]"> | 57 disabled="[[controlDisabled_(disabled, pref)]]"> |
57 </paper-toggle-button> | 58 </paper-toggle-button> |
58 </div> | 59 </div> |
59 </template> | 60 </template> |
60 <script src="settings_toggle_button.js"></script> | 61 <script src="settings_toggle_button.js"></script> |
61 </dom-module> | 62 </dom-module> |
OLD | NEW |