| Index: client/html/src/TouchEventWrappingImplementation.dart
|
| diff --git a/client/html/generated/src/wrapping/_TouchEventWrappingImplementation.dart b/client/html/src/TouchEventWrappingImplementation.dart
|
| similarity index 58%
|
| rename from client/html/generated/src/wrapping/_TouchEventWrappingImplementation.dart
|
| rename to client/html/src/TouchEventWrappingImplementation.dart
|
| index 72a8db52c79b9ee0c5c8ad2bcb43943b46066c1c..717d4f28c7bf65f194025dbcbcebb828f983e87a 100644
|
| --- a/client/html/generated/src/wrapping/_TouchEventWrappingImplementation.dart
|
| +++ b/client/html/src/TouchEventWrappingImplementation.dart
|
| @@ -2,11 +2,20 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| class TouchEventWrappingImplementation extends UIEventWrappingImplementation implements TouchEvent {
|
| TouchEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
|
|
|
| + TouchEvent(TouchList touches, TouchList targetTouches,
|
| + TouchList changedTouches, String type, Window view, int screenX,
|
| + int screenY, int clientX, int clientY, [bool ctrlKey = false,
|
| + bool altKey = false, bool shiftKey = false, bool metaKey = false]) {
|
| + var e = dom.document.createEvent("TouchEvent");
|
| + e.initTouchEvent(LevelDom.unwrap(touches), LevelDom.unwrap(targetTouches),
|
| + LevelDom.unwrap(changedTouches), type, LevelDom.unwrap(view), screenX,
|
| + screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey);
|
| + return LevelDom.wrapTouchEvent(e);
|
| + }
|
| +
|
| bool get altKey() { return _ptr.altKey; }
|
|
|
| TouchList get changedTouches() { return LevelDom.wrapTouchList(_ptr.changedTouches); }
|
| @@ -20,9 +29,4 @@ class TouchEventWrappingImplementation extends UIEventWrappingImplementation imp
|
| TouchList get targetTouches() { return LevelDom.wrapTouchList(_ptr.targetTouches); }
|
|
|
| TouchList get touches() { return LevelDom.wrapTouchList(_ptr.touches); }
|
| -
|
| - void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) {
|
| - _ptr.initTouchEvent(LevelDom.unwrap(touches), LevelDom.unwrap(targetTouches), LevelDom.unwrap(changedTouches), type, LevelDom.unwrap(view), screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey);
|
| - return;
|
| - }
|
| }
|
|
|