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

Side by Side Diff: client/html/generated/html/dartium/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 extends _DOMTypeBase implements Event {
3 _EventImpl._wrap(ptr) : super._wrap(ptr);
4
5 bool get bubbles() => _wrap(_ptr.bubbles);
6
7 bool get cancelBubble() => _wrap(_ptr.cancelBubble);
8
9 void set cancelBubble(bool value) { _ptr.cancelBubble = _unwrap(value); }
10
11 bool get cancelable() => _wrap(_ptr.cancelable);
12
13 Clipboard get clipboardData() => _wrap(_ptr.clipboardData);
14
15 EventTarget get currentTarget() => _FixHtmlDocumentReference(_wrap(_ptr.curren tTarget));
16
17 bool get defaultPrevented() => _wrap(_ptr.defaultPrevented);
18
19 int get eventPhase() => _wrap(_ptr.eventPhase);
20
21 bool get returnValue() => _wrap(_ptr.returnValue);
22
23 void set returnValue(bool value) { _ptr.returnValue = _unwrap(value); }
24
25 EventTarget get srcElement() => _FixHtmlDocumentReference(_wrap(_ptr.srcElemen t));
26
27 EventTarget get target() => _FixHtmlDocumentReference(_wrap(_ptr.target));
28
29 int get timeStamp() => _wrap(_ptr.timeStamp);
30
31 String get type() => _wrap(_ptr.type);
32
33 void _initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) {
34 _ptr.initEvent(_unwrap(eventTypeArg), _unwrap(canBubbleArg), _unwrap(cancela bleArg));
35 return;
36 }
37
38 void preventDefault() {
39 _ptr.preventDefault();
40 return;
41 }
42
43 void stopImmediatePropagation() {
44 _ptr.stopImmediatePropagation();
45 return;
46 }
47
48 void stopPropagation() {
49 _ptr.stopPropagation();
50 return;
51 }
52 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698