| // Copyright 2015 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // https://w3c.github.io/pointerevents/#pointerevent-interface |
| |
| dictionary PointerEventInit : MouseEventInit { |
| long pointerId = 0; |
| double width = 1; |
| double height = 1; |
| float pressure = 0; |
| long tiltX; |
| long tiltY; |
| double azimuthAngle; |
| double altitudeAngle; |
| float tangentialPressure = 0; |
| long twist = 0; |
| DOMString pointerType = ""; |
| boolean isPrimary = false; |
| DeviceProperties deviceProperties; |
| |
| // https://w3c.github.io/pointerevents/extension.html#extensions-to-the-pointerevent-interface |
| sequence<PointerEvent> coalescedEvents = []; |
| sequence<PointerEvent> predictedEvents = []; |
| }; |