Chromium Code Reviews| Index: client/html/src/DeviceMotionEventWrappingImplementation.dart |
| diff --git a/client/html/generated/src/wrapping/_DeviceMotionEventWrappingImplementation.dart b/client/html/src/DeviceMotionEventWrappingImplementation.dart |
| similarity index 62% |
| rename from client/html/generated/src/wrapping/_DeviceMotionEventWrappingImplementation.dart |
| rename to client/html/src/DeviceMotionEventWrappingImplementation.dart |
| index 429788042f5b0a5d35866e188b1cfadab98086b6..ed7a204c94f399d8a585e8d51cd9bf2d79a770f9 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) {} |
| + factory DeviceMotionEventWrappingImplementation(String type, |
| + [bool canBubble = false, bool cancelable = false]) { |
| + var e = dom.document.createEvent("DeviceMotionEvent"); |
| + e.initEvent(type, canBubble, cancelable); |
|
Jacob
2011/10/27 21:23:05
add a TODO that DeviceMotionEvent should in the fu
nweiz
2011/10/27 22:23:54
Done (in the interface).
|
| + return LevelDom.wrapDeviceMotionEvent(e); |
| + } |
| + |
| num get interval() { return _ptr.interval; } |
| } |