| Index: ui/webui/resources/custom_elements/cr/toggle-button/cr-toggle-button.html
|
| diff --git a/ui/webui/resources/custom_elements/cr/toggle-button/cr-toggle-button.html b/ui/webui/resources/custom_elements/cr/toggle-button/cr-toggle-button.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..541f0c809903ce5bb38b6def9f44bae24449ea84
|
| --- /dev/null
|
| +++ b/ui/webui/resources/custom_elements/cr/toggle-button/cr-toggle-button.html
|
| @@ -0,0 +1,15 @@
|
| +<link rel="import"
|
| + href="chrome://resources/polymer/paper-toggle-button/paper-toggle-button.html">
|
| +<link rel="import"
|
| + href="chrome://resources/custom-elements/cr/util/cr-util.html">
|
| +
|
| +<polymer-element name="cr-toggle-button">
|
| + <template>
|
| + <link rel="stylesheet" href="cr-toggle-button.css">
|
| + <cr-util id="util"></cr-util>
|
| + <paper-toggle-button id="toggle-button"
|
| + checked?="{{ checked }}" disabled?="{{ disabled }}">
|
| + </paper-toggle-button>
|
| + </template>
|
| + <script src="cr-toggle-button.js"></script>
|
| +</polymer-element>
|
|
|