| 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 interface MouseEvent extends UIEvent factory MouseEventWrappingImplementation { |
| 6 | 6 |
| 7 interface MouseEvent extends UIEvent { | 7 MouseEvent(String type, Window view, int detail, int screenX, int screenY, |
| 8 int clientX, int clientY, int button, [bool canBubble, bool cancelable, |
| 9 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, |
| 10 EventTarget relatedTarget]); |
| 8 | 11 |
| 9 bool get altKey(); | 12 bool get altKey(); |
| 10 | 13 |
| 11 int get button(); | 14 int get button(); |
| 12 | 15 |
| 13 int get clientX(); | 16 int get clientX(); |
| 14 | 17 |
| 15 int get clientY(); | 18 int get clientY(); |
| 16 | 19 |
| 17 bool get ctrlKey(); | 20 bool get ctrlKey(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 30 | 33 |
| 31 int get screenY(); | 34 int get screenY(); |
| 32 | 35 |
| 33 bool get shiftKey(); | 36 bool get shiftKey(); |
| 34 | 37 |
| 35 Node get toElement(); | 38 Node get toElement(); |
| 36 | 39 |
| 37 int get x(); | 40 int get x(); |
| 38 | 41 |
| 39 int get y(); | 42 int get y(); |
| 40 | |
| 41 void initMouseEvent(String type, bool canBubble, bool cancelable, Window view,
int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, b
ool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget); | |
| 42 } | 43 } |
| OLD | NEW |