| OLD | NEW |
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll
apse.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout-classes.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> |
| 5 <link rel="import" href="icons.html"> |
| 6 <link rel="import" href="shared_styles.html"> |
| 7 |
| 8 <dom-module id="input-device-settings"> |
| 9 <template> |
| 10 <!-- TODO(michaelpg): Wrap the line below to fit within the 80-char limit. |
| 11 See https://github.com/Polymer/polymer/pull/3668. --> |
| 12 <style include="device-emulator-shared-styles iron-flex iron-flex-alignment
iron-positioning"> |
| 13 .content > *:not(:first-child) { |
| 14 margin-top: 10px; |
| 15 } |
| 16 </style> |
| 17 <div class="layout vertical"> |
| 18 <div class="element-label"> |
| 19 <paper-icon-button icon="device-emulator:mouse"></paper-icon-button> |
| 20 Input Devices |
| 21 </div> |
| 22 <div class="content"> |
| 23 <paper-toggle-button id="touchpad" on-change="onTouchpadChange"> |
| 24 Touchpad |
| 25 </paper-toggle-button> |
| 26 <paper-toggle-button id="mouse" on-change="onMouseChange"> |
| 27 Mouse |
| 28 </paper-toggle-button> |
| 29 <iron-collapse id="changeDescription"> |
| 30 Any existing Settings windows must be reloaded to reflect these |
| 31 changes. |
| 32 </iron-collapse> |
| 33 </div> |
| 34 </div> |
| 35 </template> |
| 36 <script src="input_device_settings.js"></script> |
| 37 </dom-module> |
| OLD | NEW |