| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // https://w3c.github.io/touch-events/#touch-interface |
| |
| dictionary TouchInit { |
| required long identifier; |
| required EventTarget target; |
| double clientX = 0; |
| double clientY = 0; |
| double screenX = 0; |
| double screenY = 0; |
| double pageX = 0; |
| double pageY = 0; |
| float radiusX = 0; |
| float radiusY = 0; |
| float rotationAngle = 0; |
| float force = 0; |
| |
| // Canvas Hit Regions |
| // https://github.com/whatwg/html/issues/547 |
| DOMString? region = null; |
| }; |