| 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 _EventWrappingImplementation extends DOMWrapperBase implements Event { | 7 class _EventWrappingImplementation extends DOMWrapperBase implements Event { |
| 8 _EventWrappingImplementation() : super() {} | 8 _EventWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__EventWrappingImplementation() native { | 10 static create__EventWrappingImplementation() native { |
| 11 return new _EventWrappingImplementation(); | 11 return new _EventWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool get bubbles() { return _get__Event_bubbles(this); } | 14 bool get bubbles() { return _get_bubbles(this); } |
| 15 static bool _get__Event_bubbles(var _this) native; | 15 static bool _get_bubbles(var _this) native; |
| 16 | 16 |
| 17 bool get cancelBubble() { return _get__Event_cancelBubble(this); } | 17 bool get cancelBubble() { return _get_cancelBubble(this); } |
| 18 static bool _get__Event_cancelBubble(var _this) native; | 18 static bool _get_cancelBubble(var _this) native; |
| 19 | 19 |
| 20 void set cancelBubble(bool value) { _set__Event_cancelBubble(this, value); } | 20 void set cancelBubble(bool value) { _set_cancelBubble(this, value); } |
| 21 static void _set__Event_cancelBubble(var _this, bool value) native; | 21 static void _set_cancelBubble(var _this, bool value) native; |
| 22 | 22 |
| 23 bool get cancelable() { return _get__Event_cancelable(this); } | 23 bool get cancelable() { return _get_cancelable(this); } |
| 24 static bool _get__Event_cancelable(var _this) native; | 24 static bool _get_cancelable(var _this) native; |
| 25 | 25 |
| 26 Clipboard get clipboardData() { return _get__Event_clipboardData(this); } | 26 Clipboard get clipboardData() { return _get_clipboardData(this); } |
| 27 static Clipboard _get__Event_clipboardData(var _this) native; | 27 static Clipboard _get_clipboardData(var _this) native; |
| 28 | 28 |
| 29 EventTarget get currentTarget() { return _get__Event_currentTarget(this); } | 29 EventTarget get currentTarget() { return _get_currentTarget(this); } |
| 30 static EventTarget _get__Event_currentTarget(var _this) native; | 30 static EventTarget _get_currentTarget(var _this) native; |
| 31 | 31 |
| 32 bool get defaultPrevented() { return _get__Event_defaultPrevented(this); } | 32 bool get defaultPrevented() { return _get_defaultPrevented(this); } |
| 33 static bool _get__Event_defaultPrevented(var _this) native; | 33 static bool _get_defaultPrevented(var _this) native; |
| 34 | 34 |
| 35 int get eventPhase() { return _get__Event_eventPhase(this); } | 35 int get eventPhase() { return _get_eventPhase(this); } |
| 36 static int _get__Event_eventPhase(var _this) native; | 36 static int _get_eventPhase(var _this) native; |
| 37 | 37 |
| 38 bool get returnValue() { return _get__Event_returnValue(this); } | 38 bool get returnValue() { return _get_returnValue(this); } |
| 39 static bool _get__Event_returnValue(var _this) native; | 39 static bool _get_returnValue(var _this) native; |
| 40 | 40 |
| 41 void set returnValue(bool value) { _set__Event_returnValue(this, value); } | 41 void set returnValue(bool value) { _set_returnValue(this, value); } |
| 42 static void _set__Event_returnValue(var _this, bool value) native; | 42 static void _set_returnValue(var _this, bool value) native; |
| 43 | 43 |
| 44 EventTarget get srcElement() { return _get__Event_srcElement(this); } | 44 EventTarget get srcElement() { return _get_srcElement(this); } |
| 45 static EventTarget _get__Event_srcElement(var _this) native; | 45 static EventTarget _get_srcElement(var _this) native; |
| 46 | 46 |
| 47 EventTarget get target() { return _get__Event_target(this); } | 47 EventTarget get target() { return _get_target(this); } |
| 48 static EventTarget _get__Event_target(var _this) native; | 48 static EventTarget _get_target(var _this) native; |
| 49 | 49 |
| 50 int get timeStamp() { return _get__Event_timeStamp(this); } | 50 int get timeStamp() { return _get_timeStamp(this); } |
| 51 static int _get__Event_timeStamp(var _this) native; | 51 static int _get_timeStamp(var _this) native; |
| 52 | 52 |
| 53 String get type() { return _get__Event_type(this); } | 53 String get type() { return _get_type(this); } |
| 54 static String _get__Event_type(var _this) native; | 54 static String _get_type(var _this) native; |
| 55 | 55 |
| 56 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) { | 56 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) { |
| 57 _initEvent(this, eventTypeArg, canBubbleArg, cancelableArg); | 57 _initEvent(this, eventTypeArg, canBubbleArg, cancelableArg); |
| 58 return; | 58 return; |
| 59 } | 59 } |
| 60 static void _initEvent(receiver, eventTypeArg, canBubbleArg, cancelableArg) na
tive; | 60 static void _initEvent(receiver, eventTypeArg, canBubbleArg, cancelableArg) na
tive; |
| 61 | 61 |
| 62 void preventDefault() { | 62 void preventDefault() { |
| 63 _preventDefault(this); | 63 _preventDefault(this); |
| 64 return; | 64 return; |
| 65 } | 65 } |
| 66 static void _preventDefault(receiver) native; | 66 static void _preventDefault(receiver) native; |
| 67 | 67 |
| 68 void stopImmediatePropagation() { | 68 void stopImmediatePropagation() { |
| 69 _stopImmediatePropagation(this); | 69 _stopImmediatePropagation(this); |
| 70 return; | 70 return; |
| 71 } | 71 } |
| 72 static void _stopImmediatePropagation(receiver) native; | 72 static void _stopImmediatePropagation(receiver) native; |
| 73 | 73 |
| 74 void stopPropagation() { | 74 void stopPropagation() { |
| 75 _stopPropagation(this); | 75 _stopPropagation(this); |
| 76 return; | 76 return; |
| 77 } | 77 } |
| 78 static void _stopPropagation(receiver) native; | 78 static void _stopPropagation(receiver) native; |
| 79 | 79 |
| 80 String get typeName() { return "Event"; } | 80 String get typeName() { return "Event"; } |
| 81 } | 81 } |
| OLD | NEW |