Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Represents an input device (or group of related devices). | |
|
tdresser
2015/05/27 12:38:47
Can we expand on what we mean by "related"? Is our
lanwei
2015/05/28 14:56:18
Done.
| |
| 6 // To ease implementation, developers cannot rely on comparing two InputDevice | |
| 7 // instances for equality. Eg. two mice with the same properties in a system ma y | |
| 8 // appear as a single InputDevice instance. | |
| 9 [ | |
| 10 Constructor(optional InputDeviceInit deviceInitDict) | |
| 11 ] interface InputDevice { | |
| 12 | |
| 13 // Whether this device dispatches touch events for movement. This is used t o detect | |
| 14 // mouse events which represent only an action that has already been handled by | |
| 15 // touch event handlers. | |
| 16 readonly attribute boolean firesTouchEvents; | |
| 17 }; | |
| OLD | NEW |