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

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

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native 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 158c9e6ee8c6442a0c84fbcff03fdb4b9ef7b80b..e3735263fcc55653f8f5ec40c29a354eb615efe6 100644
--- a/client/dom/generated/src/frog/MouseEvent.dart
+++ b/client/dom/generated/src/frog/MouseEvent.dart
@@ -1,43 +1,43 @@
class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent" {
- bool get altKey() native "return this.altKey;";
+ final bool altKey;
- int get button() native "return this.button;";
+ final int button;
- int get clientX() native "return this.clientX;";
+ final int clientX;
- int get clientY() native "return this.clientY;";
+ final int clientY;
- bool get ctrlKey() native "return this.ctrlKey;";
+ final bool ctrlKey;
- _ClipboardJs get dataTransfer() native "return this.dataTransfer;";
+ final _ClipboardJs dataTransfer;
- _NodeJs get fromElement() native "return this.fromElement;";
+ final _NodeJs fromElement;
- bool get metaKey() native "return this.metaKey;";
+ final bool metaKey;
- int get offsetX() native "return this.offsetX;";
+ final int offsetX;
- int get offsetY() native "return this.offsetY;";
+ final int offsetY;
- _EventTargetJs get relatedTarget() native "return this.relatedTarget;";
+ final _EventTargetJs relatedTarget;
- int get screenX() native "return this.screenX;";
+ final int screenX;
- int get screenY() native "return this.screenY;";
+ final int screenY;
- bool get shiftKey() native "return this.shiftKey;";
+ final bool shiftKey;
- _NodeJs get toElement() native "return this.toElement;";
+ final _NodeJs toElement;
- int get webkitMovementX() native "return this.webkitMovementX;";
+ final int webkitMovementX;
- int get webkitMovementY() native "return this.webkitMovementY;";
+ final int webkitMovementY;
- int get x() native "return this.x;";
+ final int x;
- int get y() native "return this.y;";
+ final int y;
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;
}

Powered by Google App Engine
This is Rietveld 408576698