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

Unified Diff: client/html/generated/html/frog/Event.dart

Issue 9403004: Wrapperless dart:html generator (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanup 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/frog/Event.dart
diff --git a/client/html/generated/html/frog/Event.dart b/client/html/generated/html/frog/Event.dart
new file mode 100644
index 0000000000000000000000000000000000000000..90ce612fa93db02ba242f9c7712a5dcb18ce8615
--- /dev/null
+++ b/client/html/generated/html/frog/Event.dart
@@ -0,0 +1,82 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+class _EventJs implements Event native "*Event" {
+
+ EventTarget get target() => _FixHtmlDocumentReference(_target);
+ EventTarget get srcElement() => _FixHtmlDocumentReference(_srcElement);
+ EventTarget get currentTarget() =>
+ _FixHtmlDocumentReference(_currentTarget);
+
+ static final int AT_TARGET = 2;
+
+ static final int BLUR = 8192;
+
+ static final int BUBBLING_PHASE = 3;
+
+ static final int CAPTURING_PHASE = 1;
+
+ static final int CHANGE = 32768;
+
+ static final int CLICK = 64;
+
+ static final int DBLCLICK = 128;
+
+ static final int DRAGDROP = 2048;
+
+ static final int FOCUS = 4096;
+
+ static final int KEYDOWN = 256;
+
+ static final int KEYPRESS = 1024;
+
+ static final int KEYUP = 512;
+
+ static final int MOUSEDOWN = 1;
+
+ static final int MOUSEDRAG = 32;
+
+ static final int MOUSEMOVE = 16;
+
+ static final int MOUSEOUT = 8;
+
+ static final int MOUSEOVER = 4;
+
+ static final int MOUSEUP = 2;
+
+ static final int SELECT = 16384;
+
+ final bool bubbles;
+
+ bool cancelBubble;
+
+ final bool cancelable;
+
+ final _ClipboardJs clipboardData;
+
+ _EventTargetJs get _currentTarget() native "return this.currentTarget;";
+
+ final bool defaultPrevented;
+
+ final int eventPhase;
+
+ bool returnValue;
+
+ _EventTargetJs get _srcElement() native "return this.srcElement;";
+
+ _EventTargetJs get _target() native "return this.target;";
+
+ final int timeStamp;
+
+ final String type;
+
+ void _initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) native "this.initEvent(eventTypeArg, canBubbleArg, cancelableArg);";
+
+ void preventDefault() native;
+
+ void stopImmediatePropagation() native;
+
+ void stopPropagation() native;
+
+}

Powered by Google App Engine
This is Rietveld 408576698