Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: client/dom/generated/src/frog/MouseEvent.dart

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent " { 2 class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent " {
3 3
4 bool get altKey() native "return this.altKey;"; 4 final bool altKey;
5 5
6 int get button() native "return this.button;"; 6 final int button;
7 7
8 int get clientX() native "return this.clientX;"; 8 final int clientX;
9 9
10 int get clientY() native "return this.clientY;"; 10 final int clientY;
11 11
12 bool get ctrlKey() native "return this.ctrlKey;"; 12 final bool ctrlKey;
13 13
14 _ClipboardJs get dataTransfer() native "return this.dataTransfer;"; 14 final _ClipboardJs dataTransfer;
15 15
16 _NodeJs get fromElement() native "return this.fromElement;"; 16 final _NodeJs fromElement;
17 17
18 bool get metaKey() native "return this.metaKey;"; 18 final bool metaKey;
19 19
20 int get offsetX() native "return this.offsetX;"; 20 final int offsetX;
21 21
22 int get offsetY() native "return this.offsetY;"; 22 final int offsetY;
23 23
24 _EventTargetJs get relatedTarget() native "return this.relatedTarget;"; 24 final _EventTargetJs relatedTarget;
25 25
26 int get screenX() native "return this.screenX;"; 26 final int screenX;
27 27
28 int get screenY() native "return this.screenY;"; 28 final int screenY;
29 29
30 bool get shiftKey() native "return this.shiftKey;"; 30 final bool shiftKey;
31 31
32 _NodeJs get toElement() native "return this.toElement;"; 32 final _NodeJs toElement;
33 33
34 int get webkitMovementX() native "return this.webkitMovementX;"; 34 final int webkitMovementX;
35 35
36 int get webkitMovementY() native "return this.webkitMovementY;"; 36 final int webkitMovementY;
37 37
38 int get x() native "return this.x;"; 38 final int x;
39 39
40 int get y() native "return this.y;"; 40 final int y;
41 41
42 void initMouseEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrl Key, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetJs relate dTarget) native; 42 void initMouseEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrl Key, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetJs relate dTarget) native;
43 } 43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698