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

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

Issue 9271031: Make DOMType the root of DOM implementation types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: x 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 EventJS implements Event native "*Event" { 2 class EventJs extends DOMTypeJs implements 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;
11 11
12 static final int CHANGE = 32768; 12 static final int CHANGE = 32768;
(...skipping 27 matching lines...) Expand all
40 static final int SELECT = 16384; 40 static final int SELECT = 16384;
41 41
42 bool get bubbles() native "return this.bubbles;"; 42 bool get bubbles() native "return this.bubbles;";
43 43
44 bool get cancelBubble() native "return this.cancelBubble;"; 44 bool get cancelBubble() native "return this.cancelBubble;";
45 45
46 void set cancelBubble(bool value) native "this.cancelBubble = value;"; 46 void set cancelBubble(bool value) native "this.cancelBubble = value;";
47 47
48 bool get cancelable() native "return this.cancelable;"; 48 bool get cancelable() native "return this.cancelable;";
49 49
50 ClipboardJS get clipboardData() native "return this.clipboardData;"; 50 ClipboardJs get clipboardData() native "return this.clipboardData;";
51 51
52 EventTargetJS get currentTarget() native "return this.currentTarget;"; 52 EventTargetJs get currentTarget() native "return this.currentTarget;";
53 53
54 bool get defaultPrevented() native "return this.defaultPrevented;"; 54 bool get defaultPrevented() native "return this.defaultPrevented;";
55 55
56 int get eventPhase() native "return this.eventPhase;"; 56 int get eventPhase() native "return this.eventPhase;";
57 57
58 bool get returnValue() native "return this.returnValue;"; 58 bool get returnValue() native "return this.returnValue;";
59 59
60 void set returnValue(bool value) native "this.returnValue = value;"; 60 void set returnValue(bool value) native "this.returnValue = value;";
61 61
62 EventTargetJS get srcElement() native "return this.srcElement;"; 62 EventTargetJs get srcElement() native "return this.srcElement;";
63 63
64 EventTargetJS get target() native "return this.target;"; 64 EventTargetJs get target() native "return this.target;";
65 65
66 int get timeStamp() native "return this.timeStamp;"; 66 int get timeStamp() native "return this.timeStamp;";
67 67
68 String get type() native "return this.type;"; 68 String get type() native "return this.type;";
69 69
70 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat ive; 70 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat ive;
71 71
72 void preventDefault() native; 72 void preventDefault() native;
73 73
74 void stopImmediatePropagation() native; 74 void stopImmediatePropagation() native;
75 75
76 void stopPropagation() native; 76 void stopPropagation() native;
77
78 var dartObjectLocalStorage;
79
80 String get typeName() native;
81 } 77 }
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