Index: Source/core/events/WheelEvent.idl |
diff --git a/Source/core/events/WheelEvent.idl b/Source/core/events/WheelEvent.idl |
index 99686815b26df04eb1586fe5aad8cf2430576a47..aece23f4ca74c9d2928362534913427147f84f50 100644 |
--- a/Source/core/events/WheelEvent.idl |
+++ b/Source/core/events/WheelEvent.idl |
@@ -41,4 +41,17 @@ |
// WebKit Extension |
[MeasureAs=PrefixedWheelEventDirectionInvertedFromDevice] |
readonly attribute boolean webkitDirectionInvertedFromDevice; |
+ |
+ [MeasureAs=PrefixedWheelEventInit] |
+ void initWebKitWheelEvent([Default=Undefined] optional long wheelDeltaX, |
+ [Default=Undefined] optional long wheelDeltaY, |
+ [Default=Undefined] optional Window view, |
+ [Default=Undefined] optional long screenX, |
+ [Default=Undefined] optional long screenY, |
+ [Default=Undefined] optional long clientX, |
+ [Default=Undefined] optional long clientY, |
+ [Default=Undefined] optional boolean ctrlKey, |
+ [Default=Undefined] optional boolean altKey, |
+ [Default=Undefined] optional boolean shiftKey, |
+ [Default=Undefined] optional boolean metaKey); |
}; |