| 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 _TouchEventWrappingImplementation extends _UIEventWrappingImplementation i
mplements TouchEvent { | 7 class _TouchEventWrappingImplementation extends _UIEventWrappingImplementation i
mplements TouchEvent { |
| 8 _TouchEventWrappingImplementation() : super() {} | 8 _TouchEventWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__TouchEventWrappingImplementation() native { | 10 static create__TouchEventWrappingImplementation() native { |
| 11 return new _TouchEventWrappingImplementation(); | 11 return new _TouchEventWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool get altKey() { return _get__TouchEvent_altKey(this); } | 14 bool get altKey() { return _get_altKey(this); } |
| 15 static bool _get__TouchEvent_altKey(var _this) native; | 15 static bool _get_altKey(var _this) native; |
| 16 | 16 |
| 17 TouchList get changedTouches() { return _get__TouchEvent_changedTouches(this);
} | 17 TouchList get changedTouches() { return _get_changedTouches(this); } |
| 18 static TouchList _get__TouchEvent_changedTouches(var _this) native; | 18 static TouchList _get_changedTouches(var _this) native; |
| 19 | 19 |
| 20 bool get ctrlKey() { return _get__TouchEvent_ctrlKey(this); } | 20 bool get ctrlKey() { return _get_ctrlKey(this); } |
| 21 static bool _get__TouchEvent_ctrlKey(var _this) native; | 21 static bool _get_ctrlKey(var _this) native; |
| 22 | 22 |
| 23 bool get metaKey() { return _get__TouchEvent_metaKey(this); } | 23 bool get metaKey() { return _get_metaKey(this); } |
| 24 static bool _get__TouchEvent_metaKey(var _this) native; | 24 static bool _get_metaKey(var _this) native; |
| 25 | 25 |
| 26 bool get shiftKey() { return _get__TouchEvent_shiftKey(this); } | 26 bool get shiftKey() { return _get_shiftKey(this); } |
| 27 static bool _get__TouchEvent_shiftKey(var _this) native; | 27 static bool _get_shiftKey(var _this) native; |
| 28 | 28 |
| 29 TouchList get targetTouches() { return _get__TouchEvent_targetTouches(this); } | 29 TouchList get targetTouches() { return _get_targetTouches(this); } |
| 30 static TouchList _get__TouchEvent_targetTouches(var _this) native; | 30 static TouchList _get_targetTouches(var _this) native; |
| 31 | 31 |
| 32 TouchList get touches() { return _get__TouchEvent_touches(this); } | 32 TouchList get touches() { return _get_touches(this); } |
| 33 static TouchList _get__TouchEvent_touches(var _this) native; | 33 static TouchList _get_touches(var _this) native; |
| 34 | 34 |
| 35 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan
gedTouches, String type, DOMWindow view, int screenX, int screenY, int clientX,
int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) { | 35 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan
gedTouches, String type, DOMWindow view, int screenX, int screenY, int clientX,
int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) { |
| 36 _initTouchEvent(this, touches, targetTouches, changedTouches, type, view, sc
reenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); | 36 _initTouchEvent(this, touches, targetTouches, changedTouches, type, view, sc
reenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); |
| 37 return; | 37 return; |
| 38 } | 38 } |
| 39 static void _initTouchEvent(receiver, touches, targetTouches, changedTouches,
type, view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaK
ey) native; | 39 static void _initTouchEvent(receiver, touches, targetTouches, changedTouches,
type, view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaK
ey) native; |
| 40 | 40 |
| 41 String get typeName() { return "TouchEvent"; } | 41 String get typeName() { return "TouchEvent"; } |
| 42 } | 42 } |
| OLD | NEW |