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

Side by Side Diff: client/html/generated/html/interface/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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
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.
4
5 // WARNING: Do not edit - generated code.
6
7 interface Event default _EventFactoryProvider {
8
9 // In JS, canBubble and cancelable are technically required parameters to
10 // init*Event. In practice, though, if they aren't provided they simply
11 // default to false (since that's Boolean(undefined)).
12 //
13 // Contrary to JS, we default canBubble and cancelable to true, since that's
14 // what people want most of the time anyway.
15 Event(String type, [bool canBubble, bool cancelable]);
16
17 static final int AT_TARGET = 2;
18
19 static final int BLUR = 8192;
20
21 static final int BUBBLING_PHASE = 3;
22
23 static final int CAPTURING_PHASE = 1;
24
25 static final int CHANGE = 32768;
26
27 static final int CLICK = 64;
28
29 static final int DBLCLICK = 128;
30
31 static final int DRAGDROP = 2048;
32
33 static final int FOCUS = 4096;
34
35 static final int KEYDOWN = 256;
36
37 static final int KEYPRESS = 1024;
38
39 static final int KEYUP = 512;
40
41 static final int MOUSEDOWN = 1;
42
43 static final int MOUSEDRAG = 32;
44
45 static final int MOUSEMOVE = 16;
46
47 static final int MOUSEOUT = 8;
48
49 static final int MOUSEOVER = 4;
50
51 static final int MOUSEUP = 2;
52
53 static final int SELECT = 16384;
54
55 final bool bubbles;
56
57 bool cancelBubble;
58
59 final bool cancelable;
60
61 final Clipboard clipboardData;
62
63 final EventTarget currentTarget;
64
65 final bool defaultPrevented;
66
67 final int eventPhase;
68
69 bool returnValue;
70
71 final EventTarget srcElement;
72
73 final EventTarget target;
74
75 final int timeStamp;
76
77 final String type;
78
79 void _initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg);
80
81 void preventDefault();
82
83 void stopImmediatePropagation();
84
85 void stopPropagation();
86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698