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 [ |
| 6 EventConstructor, |
| 7 ] interface PointerEvent : Event { |
| 8 [InitializedByEventConstructor] readonly attribute long pointer; |
| 9 [InitializedByEventConstructor] readonly attribute DOMString kind; |
| 10 [InitializedByEventConstructor] readonly attribute double x; |
| 11 [InitializedByEventConstructor] readonly attribute double y; |
| 12 [InitializedByEventConstructor] readonly attribute double dx; |
| 13 [InitializedByEventConstructor] readonly attribute double dy; |
| 14 [InitializedByEventConstructor] readonly attribute long buttons; |
| 15 [InitializedByEventConstructor] readonly attribute boolean down; |
| 16 [InitializedByEventConstructor] readonly attribute boolean primary; |
| 17 [InitializedByEventConstructor] readonly attribute boolean obscured; |
| 18 [InitializedByEventConstructor] readonly attribute double pressure; |
| 19 [InitializedByEventConstructor] readonly attribute double pressureMin; |
| 20 [InitializedByEventConstructor] readonly attribute double pressureMax; |
| 21 [InitializedByEventConstructor] readonly attribute double distance; |
| 22 [InitializedByEventConstructor] readonly attribute double distanceMin; |
| 23 [InitializedByEventConstructor] readonly attribute double distanceMax; |
| 24 [InitializedByEventConstructor] readonly attribute double radiusMajor; |
| 25 [InitializedByEventConstructor] readonly attribute double radiusMinor; |
| 26 [InitializedByEventConstructor] readonly attribute double radiusMin; |
| 27 [InitializedByEventConstructor] readonly attribute double radiusMax; |
| 28 [InitializedByEventConstructor] readonly attribute double orientation; |
| 29 [InitializedByEventConstructor] readonly attribute double tilt; |
| 30 }; |
OLD | NEW |