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

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

Issue 9221006: Move frog dart:dom from fields to getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comment Created 8 years, 11 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 MouseEvent extends UIEvent native "*MouseEvent" { 2 class MouseEvent extends UIEvent native "*MouseEvent" {
3 3
4 bool altKey; 4 bool get altKey() native "return this.altKey;";
5 5
6 int button; 6 int get button() native "return this.button;";
7 7
8 int clientX; 8 int get clientX() native "return this.clientX;";
9 9
10 int clientY; 10 int get clientY() native "return this.clientY;";
11 11
12 bool ctrlKey; 12 bool get ctrlKey() native "return this.ctrlKey;";
13 13
14 Clipboard dataTransfer; 14 Clipboard get dataTransfer() native "return this.dataTransfer;";
15 15
16 Node fromElement; 16 Node get fromElement() native "return this.fromElement;";
17 17
18 bool metaKey; 18 bool get metaKey() native "return this.metaKey;";
19 19
20 int offsetX; 20 int get offsetX() native "return this.offsetX;";
21 21
22 int offsetY; 22 int get offsetY() native "return this.offsetY;";
23 23
24 EventTarget relatedTarget; 24 EventTarget get relatedTarget() native "return this.relatedTarget;";
25 25
26 int screenX; 26 int get screenX() native "return this.screenX;";
27 27
28 int screenY; 28 int get screenY() native "return this.screenY;";
29 29
30 bool shiftKey; 30 bool get shiftKey() native "return this.shiftKey;";
31 31
32 Node toElement; 32 Node get toElement() native "return this.toElement;";
33 33
34 int webkitMovementX; 34 int get webkitMovementX() native "return this.webkitMovementX;";
35 35
36 int webkitMovementY; 36 int get webkitMovementY() native "return this.webkitMovementY;";
37 37
38 int x; 38 int get x() native "return this.x;";
39 39
40 int y; 40 int get y() native "return this.y;";
41 41
42 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) native; 42 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) native;
43 } 43 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/Metadata.dart ('k') | client/dom/generated/src/frog/MutationEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698