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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 class _DeviceOrientationEventWrappingImplementation extends _EventWrappingImplem
entation implements DeviceOrientationEvent { | 7 class _DeviceOrientationEventWrappingImplementation extends _EventWrappingImplem
entation implements DeviceOrientationEvent { |
8 _DeviceOrientationEventWrappingImplementation() : super() {} | 8 _DeviceOrientationEventWrappingImplementation() : super() {} |
9 | 9 |
10 static create__DeviceOrientationEventWrappingImplementation() native { | 10 static create__DeviceOrientationEventWrappingImplementation() native { |
11 return new _DeviceOrientationEventWrappingImplementation(); | 11 return new _DeviceOrientationEventWrappingImplementation(); |
12 } | 12 } |
13 | 13 |
| 14 bool get absolute() { return _get_absolute(this); } |
| 15 static bool _get_absolute(var _this) native; |
| 16 |
14 num get alpha() { return _get_alpha(this); } | 17 num get alpha() { return _get_alpha(this); } |
15 static num _get_alpha(var _this) native; | 18 static num _get_alpha(var _this) native; |
16 | 19 |
17 num get beta() { return _get_beta(this); } | 20 num get beta() { return _get_beta(this); } |
18 static num _get_beta(var _this) native; | 21 static num _get_beta(var _this) native; |
19 | 22 |
20 num get gamma() { return _get_gamma(this); } | 23 num get gamma() { return _get_gamma(this); } |
21 static num _get_gamma(var _this) native; | 24 static num _get_gamma(var _this) native; |
22 | 25 |
23 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma) { | 26 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute) { |
24 _initDeviceOrientationEvent(this, type, bubbles, cancelable, alpha, beta, ga
mma); | 27 _initDeviceOrientationEvent(this, type, bubbles, cancelable, alpha, beta, ga
mma, absolute); |
25 return; | 28 return; |
26 } | 29 } |
27 static void _initDeviceOrientationEvent(receiver, type, bubbles, cancelable, a
lpha, beta, gamma) native; | 30 static void _initDeviceOrientationEvent(receiver, type, bubbles, cancelable, a
lpha, beta, gamma, absolute) native; |
28 | 31 |
29 String get typeName() { return "DeviceOrientationEvent"; } | 32 String get typeName() { return "DeviceOrientationEvent"; } |
30 } | 33 } |
OLD | NEW |