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

Unified Diff: client/dom/generated/src/frog/Touch.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/Touch.dart
diff --git a/client/dom/generated/src/frog/Touch.dart b/client/dom/generated/src/frog/Touch.dart
index 31aacdc5688e39390191caedddebc5ac11df1b3e..143edbc7e3b3117dfffd75d02230118665f62f13 100644
--- a/client/dom/generated/src/frog/Touch.dart
+++ b/client/dom/generated/src/frog/Touch.dart
@@ -1,27 +1,27 @@
class _TouchJs extends _DOMTypeJs implements Touch native "*Touch" {
- int get clientX() native "return this.clientX;";
+ final int clientX;
- int get clientY() native "return this.clientY;";
+ final int clientY;
- int get identifier() native "return this.identifier;";
+ final int identifier;
- int get pageX() native "return this.pageX;";
+ final int pageX;
- int get pageY() native "return this.pageY;";
+ final int pageY;
- int get screenX() native "return this.screenX;";
+ final int screenX;
- int get screenY() native "return this.screenY;";
+ final int screenY;
- _EventTargetJs get target() native "return this.target;";
+ final _EventTargetJs target;
- num get webkitForce() native "return this.webkitForce;";
+ final num webkitForce;
- int get webkitRadiusX() native "return this.webkitRadiusX;";
+ final int webkitRadiusX;
- int get webkitRadiusY() native "return this.webkitRadiusY;";
+ final int webkitRadiusY;
- num get webkitRotationAngle() native "return this.webkitRotationAngle;";
+ final num webkitRotationAngle;
}

Powered by Google App Engine
This is Rietveld 408576698