| 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 _MouseEventWrappingImplementation extends _UIEventWrappingImplementation i
mplements MouseEvent { | 7 class _MouseEventWrappingImplementation extends _UIEventWrappingImplementation i
mplements MouseEvent { |
| 8 _MouseEventWrappingImplementation() : super() {} | 8 _MouseEventWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__MouseEventWrappingImplementation() native { | 10 static create__MouseEventWrappingImplementation() native { |
| 11 return new _MouseEventWrappingImplementation(); | 11 return new _MouseEventWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool get altKey() { return _get__MouseEvent_altKey(this); } | 14 bool get altKey() { return _get__MouseEvent_altKey(this); } |
| 15 static bool _get__MouseEvent_altKey(var _this) native; | 15 static bool _get__MouseEvent_altKey(var _this) native; |
| 16 | 16 |
| 17 int get button() { return _get__MouseEvent_button(this); } | 17 int get button() { return _get__MouseEvent_button(this); } |
| 18 static int _get__MouseEvent_button(var _this) native; | 18 static int _get__MouseEvent_button(var _this) native; |
| 19 | 19 |
| 20 int get clientX() { return _get__MouseEvent_clientX(this); } | 20 int get clientX() { return _get__MouseEvent_clientX(this); } |
| 21 static int _get__MouseEvent_clientX(var _this) native; | 21 static int _get__MouseEvent_clientX(var _this) native; |
| 22 | 22 |
| 23 int get clientY() { return _get__MouseEvent_clientY(this); } | 23 int get clientY() { return _get__MouseEvent_clientY(this); } |
| 24 static int _get__MouseEvent_clientY(var _this) native; | 24 static int _get__MouseEvent_clientY(var _this) native; |
| 25 | 25 |
| 26 bool get ctrlKey() { return _get__MouseEvent_ctrlKey(this); } | 26 bool get ctrlKey() { return _get__MouseEvent_ctrlKey(this); } |
| 27 static bool _get__MouseEvent_ctrlKey(var _this) native; | 27 static bool _get__MouseEvent_ctrlKey(var _this) native; |
| 28 | 28 |
| 29 Clipboard get dataTransfer() { return _get__MouseEvent_dataTransfer(this); } |
| 30 static Clipboard _get__MouseEvent_dataTransfer(var _this) native; |
| 31 |
| 29 Node get fromElement() { return _get__MouseEvent_fromElement(this); } | 32 Node get fromElement() { return _get__MouseEvent_fromElement(this); } |
| 30 static Node _get__MouseEvent_fromElement(var _this) native; | 33 static Node _get__MouseEvent_fromElement(var _this) native; |
| 31 | 34 |
| 32 bool get metaKey() { return _get__MouseEvent_metaKey(this); } | 35 bool get metaKey() { return _get__MouseEvent_metaKey(this); } |
| 33 static bool _get__MouseEvent_metaKey(var _this) native; | 36 static bool _get__MouseEvent_metaKey(var _this) native; |
| 34 | 37 |
| 35 int get offsetX() { return _get__MouseEvent_offsetX(this); } | 38 int get offsetX() { return _get__MouseEvent_offsetX(this); } |
| 36 static int _get__MouseEvent_offsetX(var _this) native; | 39 static int _get__MouseEvent_offsetX(var _this) native; |
| 37 | 40 |
| 38 int get offsetY() { return _get__MouseEvent_offsetY(this); } | 41 int get offsetY() { return _get__MouseEvent_offsetY(this); } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 60 static int _get__MouseEvent_y(var _this) native; | 63 static int _get__MouseEvent_y(var _this) native; |
| 61 | 64 |
| 62 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi
ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey
, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge
t) { | 65 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi
ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey
, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge
t) { |
| 63 _initMouseEvent(this, type, canBubble, cancelable, view, detail, screenX, sc
reenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarg
et); | 66 _initMouseEvent(this, type, canBubble, cancelable, view, detail, screenX, sc
reenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarg
et); |
| 64 return; | 67 return; |
| 65 } | 68 } |
| 66 static void _initMouseEvent(receiver, type, canBubble, cancelable, view, detai
l, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, butto
n, relatedTarget) native; | 69 static void _initMouseEvent(receiver, type, canBubble, cancelable, view, detai
l, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, butto
n, relatedTarget) native; |
| 67 | 70 |
| 68 String get typeName() { return "MouseEvent"; } | 71 String get typeName() { return "MouseEvent"; } |
| 69 } | 72 } |
| OLD | NEW |