| Index: core/events/TouchEvent.idl
|
| diff --git a/core/events/TouchEvent.idl b/core/events/TouchEvent.idl
|
| index d4c3b2c672d22ab0b1a458cc27f9a8c9610132d8..42e234d1ac89e344ed89025c8f1724a43e573319 100644
|
| --- a/core/events/TouchEvent.idl
|
| +++ b/core/events/TouchEvent.idl
|
| @@ -23,9 +23,11 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -// http://www.w3.org/TR/touch-events/#touchevent-interface
|
| +// https://w3c.github.io/touch-events/#touchevent-interface
|
|
|
| -interface TouchEvent : UIEvent {
|
| +[
|
| + Constructor(DOMString type, optional TouchEventInit eventInitDict),
|
| +] interface TouchEvent : UIEvent {
|
| readonly attribute TouchList touches;
|
| readonly attribute TouchList targetTouches;
|
| readonly attribute TouchList changedTouches;
|
| @@ -34,18 +36,17 @@ interface TouchEvent : UIEvent {
|
| readonly attribute boolean ctrlKey;
|
| readonly attribute boolean shiftKey;
|
|
|
| - // FIXME: initTouch() is not yet standardized.
|
| - [CallWith=ScriptState, Measure] void initTouchEvent([Default=Undefined] optional TouchList touches,
|
| - [Default=Undefined] optional TouchList targetTouches,
|
| - [Default=Undefined] optional TouchList changedTouches,
|
| - [Default=Undefined] optional DOMString type,
|
| - [Default=Undefined] optional Window view,
|
| - [Default=Undefined] optional long unused1,
|
| - [Default=Undefined] optional long unused2,
|
| - [Default=Undefined] optional long unused3,
|
| - [Default=Undefined] optional long unused4,
|
| - [Default=Undefined] optional boolean ctrlKey,
|
| - [Default=Undefined] optional boolean altKey,
|
| - [Default=Undefined] optional boolean shiftKey,
|
| - [Default=Undefined] optional boolean metaKey);
|
| + [CallWith=ScriptState, DeprecateAs=V8TouchEvent_InitTouchEvent_Method, LegacyInterfaceTypeChecking] void initTouchEvent([Default=Undefined] optional TouchList touches,
|
| + [Default=Undefined] optional TouchList targetTouches,
|
| + [Default=Undefined] optional TouchList changedTouches,
|
| + [Default=Undefined] optional DOMString type,
|
| + [Default=Undefined] optional Window? view,
|
| + [Default=Undefined] optional long unused1,
|
| + [Default=Undefined] optional long unused2,
|
| + [Default=Undefined] optional long unused3,
|
| + [Default=Undefined] optional long unused4,
|
| + [Default=Undefined] optional boolean ctrlKey,
|
| + [Default=Undefined] optional boolean altKey,
|
| + [Default=Undefined] optional boolean shiftKey,
|
| + [Default=Undefined] optional boolean metaKey);
|
| };
|
|
|