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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: client/html/generated/html/dartium/Event.dart
diff --git a/client/html/generated/html/dartium/Event.dart b/client/html/generated/html/dartium/Event.dart
new file mode 100644
index 0000000000000000000000000000000000000000..b56714b35680e2bae8443a1a918510d617bd907f
--- /dev/null
+++ b/client/html/generated/html/dartium/Event.dart
@@ -0,0 +1,52 @@
+
+class _EventImpl extends _DOMTypeBase implements Event {
+ _EventImpl._wrap(ptr) : super._wrap(ptr);
+
+ bool get bubbles() => _wrap(_ptr.bubbles);
+
+ bool get cancelBubble() => _wrap(_ptr.cancelBubble);
+
+ void set cancelBubble(bool value) { _ptr.cancelBubble = _unwrap(value); }
+
+ bool get cancelable() => _wrap(_ptr.cancelable);
+
+ Clipboard get clipboardData() => _wrap(_ptr.clipboardData);
+
+ EventTarget get currentTarget() => _FixHtmlDocumentReference(_wrap(_ptr.currentTarget));
+
+ bool get defaultPrevented() => _wrap(_ptr.defaultPrevented);
+
+ int get eventPhase() => _wrap(_ptr.eventPhase);
+
+ bool get returnValue() => _wrap(_ptr.returnValue);
+
+ void set returnValue(bool value) { _ptr.returnValue = _unwrap(value); }
+
+ EventTarget get srcElement() => _FixHtmlDocumentReference(_wrap(_ptr.srcElement));
+
+ EventTarget get target() => _FixHtmlDocumentReference(_wrap(_ptr.target));
+
+ int get timeStamp() => _wrap(_ptr.timeStamp);
+
+ String get type() => _wrap(_ptr.type);
+
+ void _initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) {
+ _ptr.initEvent(_unwrap(eventTypeArg), _unwrap(canBubbleArg), _unwrap(cancelableArg));
+ return;
+ }
+
+ void preventDefault() {
+ _ptr.preventDefault();
+ return;
+ }
+
+ void stopImmediatePropagation() {
+ _ptr.stopImmediatePropagation();
+ return;
+ }
+
+ void stopPropagation() {
+ _ptr.stopPropagation();
+ return;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698