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

Unified Diff: client/dom/generated/src/frog/MouseEvent.dart

Issue 9233028: Frog dart:dom using interfaces and native implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 11 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/dom/generated/src/frog/MouseEvent.dart
diff --git a/client/dom/generated/src/frog/MouseEvent.dart b/client/dom/generated/src/frog/MouseEvent.dart
index fc23894c8d38e8d3a65cb00f57ba70e57898b966..02486577935e193d3f3d14135740b5764d08d1d3 100644
--- a/client/dom/generated/src/frog/MouseEvent.dart
+++ b/client/dom/generated/src/frog/MouseEvent.dart
@@ -1,5 +1,5 @@
-class MouseEvent extends UIEvent native "*MouseEvent" {
+class MouseEventJS extends UIEventJS implements MouseEvent native "*MouseEvent" {
bool get altKey() native "return this.altKey;";
@@ -11,9 +11,9 @@ class MouseEvent extends UIEvent native "*MouseEvent" {
bool get ctrlKey() native "return this.ctrlKey;";
- Clipboard get dataTransfer() native "return this.dataTransfer;";
+ ClipboardJS get dataTransfer() native "return this.dataTransfer;";
- Node get fromElement() native "return this.fromElement;";
+ NodeJS get fromElement() native "return this.fromElement;";
bool get metaKey() native "return this.metaKey;";
@@ -21,7 +21,7 @@ class MouseEvent extends UIEvent native "*MouseEvent" {
int get offsetY() native "return this.offsetY;";
- EventTarget get relatedTarget() native "return this.relatedTarget;";
+ EventTargetJS get relatedTarget() native "return this.relatedTarget;";
int get screenX() native "return this.screenX;";
@@ -29,7 +29,7 @@ class MouseEvent extends UIEvent native "*MouseEvent" {
bool get shiftKey() native "return this.shiftKey;";
- Node get toElement() native "return this.toElement;";
+ NodeJS get toElement() native "return this.toElement;";
int get webkitMovementX() native "return this.webkitMovementX;";
@@ -39,5 +39,5 @@ class MouseEvent extends UIEvent native "*MouseEvent" {
int get y() native "return this.y;";
- void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget) native;
+ void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindowJS view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, EventTargetJS relatedTarget) native;
}
« no previous file with comments | « client/dom/generated/src/frog/MetadataCallback.dart ('k') | client/dom/generated/src/frog/MutationCallback.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698