Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / settings / checkbox / checkbox.html
blob8adebc1ddb4acc0a1c7b4ab74ae203738475385d
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-checkbox.html">
3 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_events/cr_events.html">
4 <link rel="import" href="chrome://resources/cr_elements/v1_0/policy/cr_policy_indicator.html">
5 <link rel="import" href="chrome://md-settings/policy_controllable/policy_controllable.html">
6 <link rel="import" href="chrome://md-settings/pref_tracker/pref_tracker.html">
8 <dom-module id="cr-settings-checkbox">
9 <link rel="import" type="css" href="checkbox.css">
10 <template>
11 <cr-events id="events"></cr-events>
12 <cr-settings-pref-tracker pref="[[pref]]"></cr-settings-pref-tracker>
14 <div id="outerDiv" class="layout horizontal center">
15 <paper-checkbox id="checkbox" checked="{{checked}}"
16 disabled="[[checkboxDisabled_(disabled, pref)]]">
17 <span id="mainLabel">{{label}}</span>
18 <span id="subLabel">{{subLabel}}</span>
19 </paper-checkbox>
20 <cr-policy-indicator pref="[[pref]]"></cr-policy-indicator>
21 </div>
22 </template>
23 <script src="checkbox.js"></script>
24 </dom-module>