OLD | NEW |
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/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.html"> |
3 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_be
havior.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_in
dicator.html"> | 4 <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"> | 5 <link rel="import" href="/controls/pref_control_behavior.html"> |
6 <link rel="import" href="/settings_shared_css.html"> | 6 <link rel="import" href="/settings_shared_css.html"> |
7 | 7 |
8 <dom-module id="settings-checkbox"> | 8 <dom-module id="settings-checkbox"> |
9 <link rel="import" type="css" href="chrome://resources/cr_elements/shared.css"
> | |
10 <template> | 9 <template> |
11 <style include="settings-shared"> | 10 <style include="settings-shared"> |
12 #outerRow { | 11 #outerRow { |
13 align-items: center; | 12 align-items: center; |
14 display: flex; | 13 display: flex; |
15 min-height: var(--settings-row-two-line-min-height); | 14 min-height: var(--settings-row-two-line-min-height); |
16 width: 100%; | 15 width: 100%; |
17 } | 16 } |
18 | 17 |
19 #outerRow[noSubLabel] { | 18 #outerRow[noSubLabel] { |
(...skipping 22 matching lines...) Expand all Loading... |
42 <div>[[label]]</div> | 41 <div>[[label]]</div> |
43 <div class="secondary">[[subLabel]]</div> | 42 <div class="secondary">[[subLabel]]</div> |
44 </paper-checkbox> | 43 </paper-checkbox> |
45 <template is="dom-if" if="[[pref.policySource]]"> | 44 <template is="dom-if" if="[[pref.policySource]]"> |
46 <cr-policy-pref-indicator pref="[[pref]]"></cr-policy-pref-indicator> | 45 <cr-policy-pref-indicator pref="[[pref]]"></cr-policy-pref-indicator> |
47 </template> | 46 </template> |
48 </div> | 47 </div> |
49 </template> | 48 </template> |
50 <script src="settings_checkbox.js"></script> | 49 <script src="settings_checkbox.js"></script> |
51 </dom-module> | 50 </dom-module> |
OLD | NEW |