| Index: client/html/src/DeviceMotionEventWrappingImplementation.dart
|
| diff --git a/client/html/generated/src/wrapping/_DeviceMotionEventWrappingImplementation.dart b/client/html/src/DeviceMotionEventWrappingImplementation.dart
|
| similarity index 55%
|
| rename from client/html/generated/src/wrapping/_DeviceMotionEventWrappingImplementation.dart
|
| rename to client/html/src/DeviceMotionEventWrappingImplementation.dart
|
| index 429788042f5b0a5d35866e188b1cfadab98086b6..4b31433af369d119f623dd1298c7e1635faf1530 100644
|
| --- a/client/html/generated/src/wrapping/_DeviceMotionEventWrappingImplementation.dart
|
| +++ b/client/html/src/DeviceMotionEventWrappingImplementation.dart
|
| @@ -2,10 +2,15 @@
|
| // 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 DeviceMotionEventWrappingImplementation extends EventWrappingImplementation implements DeviceMotionEvent {
|
| - DeviceMotionEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
|
| + DeviceMotionEventWrappingImplementation._wrap(ptr) : super._wrap(ptr);
|
| +
|
| + factory DeviceMotionEventWrappingImplementation(String type,
|
| + [bool canBubble = true, bool cancelable = true]) {
|
| + final e = dom.document.createEvent("DeviceMotionEvent");
|
| + e.initEvent(type, canBubble, cancelable);
|
| + return LevelDom.wrapDeviceMotionEvent(e);
|
| + }
|
|
|
| - num get interval() { return _ptr.interval; }
|
| + num get interval() => _ptr.interval;
|
| }
|
|
|