Index: core/events/PointerEventInit.idl |
diff --git a/core/events/PointerEventInit.idl b/core/events/PointerEventInit.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d474bcd9b945e9374a86c71af120e43b4cc6301b |
--- /dev/null |
+++ b/core/events/PointerEventInit.idl |
@@ -0,0 +1,18 @@ |
+// 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/pointerevents/#pointerevent-interface |
+ |
+[ |
+ RuntimeEnabled=PointerEvent, |
+] dictionary PointerEventInit : MouseEventInit { |
+ long pointerId = 0; |
+ double width = 0; |
+ double height = 0; |
+ float pressure = 0; |
+ long tiltX = 0; |
+ long tiltY = 0; |
+ DOMString pointerType = ""; |
+ boolean isPrimary = false; |
+}; |