OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 interface DeviceMotionEvent extends Event default DeviceMotionEventWrappingImple
mentation { | 5 interface DeviceMotionEvent extends Event default DeviceMotionEventWrappingImple
mentation { |
6 | 6 |
7 // TODO(nweiz): Add more arguments to the constructor when we support | 7 // TODO(nweiz): Add more arguments to the constructor when we support |
8 // DeviceMotionEvent more thoroughly. | 8 // DeviceMotionEvent more thoroughly. |
9 DeviceMotionEvent(String type, [bool canBubble, bool cancelable]); | 9 DeviceMotionEvent(String type, [bool canBubble, bool cancelable]); |
10 | 10 |
11 num get interval(); | 11 num get interval; |
12 } | 12 } |
OLD | NEW |