Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(496)

Side by Side Diff: chrome/browser/resources/chromeos/emulator/input_device_settings.html

Issue 2006083002: Use fake Input Device Settings with chrome://device-emulator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DevicePageTestsFixes
Patch Set: make dependent on a11y fix Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698