Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/TouchInit.idl |
| diff --git a/third_party/WebKit/Source/core/dom/TouchInit.idl b/third_party/WebKit/Source/core/dom/TouchInit.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3fd94a93f6cb41d03d04662d4742f6da89a3930e |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/dom/TouchInit.idl |
| @@ -0,0 +1,22 @@ |
| +// 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 |
| + |
| +[ |
| + RuntimeEnabled=Touch, |
|
Rick Byers
2015/11/10 06:31:51
also no reason to be RuntimeEnabled.
See https://c
|
| +] 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; |
| +}; |