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

Side by Side Diff: client/dom/generated/src/frog/Event.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 Event native "*Event" { 2 class Event native "*Event" {
3 3
4 static final int AT_TARGET = 2; 4 static final int AT_TARGET = 2;
5 5
6 static final int BLUR = 8192; 6 static final int BLUR = 8192;
7 7
8 static final int BUBBLING_PHASE = 3; 8 static final int BUBBLING_PHASE = 3;
9 9
10 static final int CAPTURING_PHASE = 1; 10 static final int CAPTURING_PHASE = 1;
(...skipping 21 matching lines...) Expand all
32 static final int MOUSEMOVE = 16; 32 static final int MOUSEMOVE = 16;
33 33
34 static final int MOUSEOUT = 8; 34 static final int MOUSEOUT = 8;
35 35
36 static final int MOUSEOVER = 4; 36 static final int MOUSEOVER = 4;
37 37
38 static final int MOUSEUP = 2; 38 static final int MOUSEUP = 2;
39 39
40 static final int SELECT = 16384; 40 static final int SELECT = 16384;
41 41
42 bool bubbles; 42 bool get bubbles() native "return this.bubbles;";
43 43
44 bool cancelBubble; 44 bool get cancelBubble() native "return this.cancelBubble;";
45 45
46 bool cancelable; 46 void set cancelBubble(bool value) native "this.cancelBubble = value;";
47 47
48 Clipboard clipboardData; 48 bool get cancelable() native "return this.cancelable;";
49 49
50 EventTarget currentTarget; 50 Clipboard get clipboardData() native "return this.clipboardData;";
51 51
52 bool defaultPrevented; 52 EventTarget get currentTarget() native "return this.currentTarget;";
53 53
54 int eventPhase; 54 bool get defaultPrevented() native "return this.defaultPrevented;";
55 55
56 bool returnValue; 56 int get eventPhase() native "return this.eventPhase;";
57 57
58 EventTarget srcElement; 58 bool get returnValue() native "return this.returnValue;";
59 59
60 EventTarget target; 60 void set returnValue(bool value) native "this.returnValue = value;";
61 61
62 int timeStamp; 62 EventTarget get srcElement() native "return this.srcElement;";
63 63
64 String type; 64 EventTarget get target() native "return this.target;";
65
66 int get timeStamp() native "return this.timeStamp;";
67
68 String get type() native "return this.type;";
65 69
66 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat ive; 70 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat ive;
67 71
68 void preventDefault() native; 72 void preventDefault() native;
69 73
70 void stopImmediatePropagation() native; 74 void stopImmediatePropagation() native;
71 75
72 void stopPropagation() native; 76 void stopPropagation() native;
73 77
74 var dartObjectLocalStorage; 78 var dartObjectLocalStorage;
75 79
76 String get typeName() native; 80 String get typeName() native;
77 } 81 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/ErrorEvent.dart ('k') | client/dom/generated/src/frog/EventException.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698