Index: third_party/WebKit/Source/core/dom/Document.idl |
diff --git a/third_party/WebKit/Source/core/dom/Document.idl b/third_party/WebKit/Source/core/dom/Document.idl |
index 8b3ae3e71b25e99932fb891d427cfb90e5922f57..68a3907d9215aa857f098c0365f1fb9457f5e0e2 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.idl |
+++ b/third_party/WebKit/Source/core/dom/Document.idl |
@@ -156,19 +156,18 @@ interface Document : Node { |
// Touch Events |
// https://w3c.github.io/touch-events/#extensions-to-the-document-interface |
- // FIXME: The arguments should not be optional. |
[RuntimeEnabled=TouchEventFeatureDetection, Measure, LegacyInterfaceTypeChecking, Custom=CallPrologue] |
- Touch createTouch([Default=Undefined] optional Window window, |
- [Default=Undefined] optional EventTarget target, |
- [Default=Undefined] optional long identifier, |
- [Default=Undefined] optional unrestricted double pageX, |
- [Default=Undefined] optional unrestricted double pageY, |
- [Default=Undefined] optional unrestricted double screenX, |
- [Default=Undefined] optional unrestricted double screenY, |
- [Default=Undefined] optional unrestricted double radiusX, |
- [Default=Undefined] optional unrestricted double radiusY, |
- [Default=Undefined] optional unrestricted float rotationAngle, |
- [Default=Undefined] optional unrestricted float force); |
+ Touch createTouch(Window view, |
+ EventTarget target, |
+ long identifier, |
+ double pageX, |
+ double pageY, |
+ double screenX, |
+ double screenY, |
+ optional unrestricted double radiusX = 0, |
+ optional unrestricted double radiusY = 0, |
+ optional unrestricted float rotationAngle = 0, |
+ optional unrestricted float force = 0); |
[RuntimeEnabled=TouchEventFeatureDetection] TouchList createTouchList(Touch... touches); |
// Custom Elements |