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

Side by Side Diff: client/html/src/Event.dart

Issue 8404013: Add constructors to all the event classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 interface Event factory EventWrappingImplementation {
6
7 interface Event {
8 6
9 static final int AT_TARGET = 2; 7 static final int AT_TARGET = 2;
10 8
11 static final int BLUR = 8192; 9 static final int BLUR = 8192;
12 10
13 static final int BUBBLING_PHASE = 3; 11 static final int BUBBLING_PHASE = 3;
14 12
15 static final int CAPTURING_PHASE = 1; 13 static final int CAPTURING_PHASE = 1;
16 14
17 static final int CHANGE = 32768; 15 static final int CHANGE = 32768;
(...skipping 19 matching lines...) Expand all
37 static final int MOUSEMOVE = 16; 35 static final int MOUSEMOVE = 16;
38 36
39 static final int MOUSEOUT = 8; 37 static final int MOUSEOUT = 8;
40 38
41 static final int MOUSEOVER = 4; 39 static final int MOUSEOVER = 4;
42 40
43 static final int MOUSEUP = 2; 41 static final int MOUSEUP = 2;
44 42
45 static final int SELECT = 16384; 43 static final int SELECT = 16384;
46 44
45 Event(String type, [bool canBubble, bool cancelable]);
46
47 bool get bubbles(); 47 bool get bubbles();
48 48
49 bool get cancelBubble(); 49 bool get cancelBubble();
50 50
51 void set cancelBubble(bool value); 51 void set cancelBubble(bool value);
52 52
53 bool get cancelable(); 53 bool get cancelable();
54 54
55 EventTarget get currentTarget(); 55 EventTarget get currentTarget();
56 56
57 bool get defaultPrevented(); 57 bool get defaultPrevented();
58 58
59 int get eventPhase(); 59 int get eventPhase();
60 60
61 bool get returnValue(); 61 bool get returnValue();
62 62
63 void set returnValue(bool value); 63 void set returnValue(bool value);
64 64
65 EventTarget get srcElement(); 65 EventTarget get srcElement();
66 66
67 EventTarget get target(); 67 EventTarget get target();
68 68
69 int get timeStamp(); 69 int get timeStamp();
70 70
71 String get type(); 71 String get type();
72 72
73 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg);
74
75 void preventDefault(); 73 void preventDefault();
76 74
77 void stopImmediatePropagation(); 75 void stopImmediatePropagation();
78 76
79 void stopPropagation(); 77 void stopPropagation();
80 } 78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698