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 { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 int get screenY() { return _get_screenY(this); } | 50 int get screenY() { return _get_screenY(this); } |
51 static int _get_screenY(var _this) native; | 51 static int _get_screenY(var _this) native; |
52 | 52 |
53 bool get shiftKey() { return _get_shiftKey(this); } | 53 bool get shiftKey() { return _get_shiftKey(this); } |
54 static bool _get_shiftKey(var _this) native; | 54 static bool _get_shiftKey(var _this) native; |
55 | 55 |
56 Node get toElement() { return _get_toElement(this); } | 56 Node get toElement() { return _get_toElement(this); } |
57 static Node _get_toElement(var _this) native; | 57 static Node _get_toElement(var _this) native; |
58 | 58 |
59 int get webkitMovementX() { return _get_webkitMovementX(this); } | |
60 static int _get_webkitMovementX(var _this) native; | |
61 | |
62 int get webkitMovementY() { return _get_webkitMovementY(this); } | |
63 static int _get_webkitMovementY(var _this) native; | |
64 | |
65 int get x() { return _get_x(this); } | 59 int get x() { return _get_x(this); } |
66 static int _get_x(var _this) native; | 60 static int _get_x(var _this) native; |
67 | 61 |
68 int get y() { return _get_y(this); } | 62 int get y() { return _get_y(this); } |
69 static int _get_y(var _this) native; | 63 static int _get_y(var _this) native; |
70 | 64 |
71 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) { |
72 _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); |
73 return; | 67 return; |
74 } | 68 } |
75 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; |
76 | 70 |
77 String get typeName() { return "MouseEvent"; } | 71 String get typeName() { return "MouseEvent"; } |
78 } | 72 } |
OLD | NEW |