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

Unified Diff: client/dom/generated/src/frog/WheelEvent.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/WheelEvent.dart
diff --git a/client/dom/generated/src/frog/WheelEvent.dart b/client/dom/generated/src/frog/WheelEvent.dart
index d4bf9e1b0c83b3b63b364fb1f41f0d1c9edaaafc..2bdd6f0fc7c5b09a39cb84aaba2b66b67d3b6a9c 100644
--- a/client/dom/generated/src/frog/WheelEvent.dart
+++ b/client/dom/generated/src/frog/WheelEvent.dart
@@ -1,37 +1,37 @@
class _WheelEventJs extends _UIEventJs implements WheelEvent native "*WheelEvent" {
- bool get altKey() native "return this.altKey;";
+ final bool altKey;
- 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;
- 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;
- 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;
- bool get webkitDirectionInvertedFromDevice() native "return this.webkitDirectionInvertedFromDevice;";
+ final bool webkitDirectionInvertedFromDevice;
- int get wheelDelta() native "return this.wheelDelta;";
+ final int wheelDelta;
- int get wheelDeltaX() native "return this.wheelDeltaX;";
+ final int wheelDeltaX;
- int get wheelDeltaY() native "return this.wheelDeltaY;";
+ final int wheelDeltaY;
- int get x() native "return this.x;";
+ final int x;
- int get y() native "return this.y;";
+ final int y;
void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native;
}

Powered by Google App Engine
This is Rietveld 408576698