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

Side by Side Diff: client/html/generated/html/frog/Event.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
(Empty)
1
2 class _EventImpl implements Event native "*Event" {
3
4 static final int AT_TARGET = 2;
5
6 static final int BLUR = 8192;
7
8 static final int BUBBLING_PHASE = 3;
9
10 static final int CAPTURING_PHASE = 1;
11
12 static final int CHANGE = 32768;
13
14 static final int CLICK = 64;
15
16 static final int DBLCLICK = 128;
17
18 static final int DRAGDROP = 2048;
19
20 static final int FOCUS = 4096;
21
22 static final int KEYDOWN = 256;
23
24 static final int KEYPRESS = 1024;
25
26 static final int KEYUP = 512;
27
28 static final int MOUSEDOWN = 1;
29
30 static final int MOUSEDRAG = 32;
31
32 static final int MOUSEMOVE = 16;
33
34 static final int MOUSEOUT = 8;
35
36 static final int MOUSEOVER = 4;
37
38 static final int MOUSEUP = 2;
39
40 static final int SELECT = 16384;
41
42 final bool bubbles;
43
44 bool cancelBubble;
45
46 final bool cancelable;
47
48 final _ClipboardImpl clipboardData;
49
50 _EventTargetImpl get currentTarget() => _FixHtmlDocumentReference(_currentTarg et);
51
52 _EventTargetImpl get _currentTarget() native "return this.currentTarget;";
53
54 final bool defaultPrevented;
55
56 final int eventPhase;
57
58 bool returnValue;
59
60 _EventTargetImpl get srcElement() => _FixHtmlDocumentReference(_srcElement);
61
62 _EventTargetImpl get _srcElement() native "return this.srcElement;";
63
64 _EventTargetImpl get target() => _FixHtmlDocumentReference(_target);
65
66 _EventTargetImpl get _target() native "return this.target;";
67
68 final int timeStamp;
69
70 final String type;
71
72 void _initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) na tive "this.initEvent(eventTypeArg, canBubbleArg, cancelableArg);";
73
74 void preventDefault() native;
75
76 void stopImmediatePropagation() native;
77
78 void stopPropagation() native;
79 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698