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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _TouchJs extends _DOMTypeJs implements Touch native "*Touch" { 2 class _TouchJs extends _DOMTypeJs implements Touch native "*Touch" {
3 3
4 int get clientX() native "return this.clientX;"; 4 final int clientX;
5 5
6 int get clientY() native "return this.clientY;"; 6 final int clientY;
7 7
8 int get identifier() native "return this.identifier;"; 8 final int identifier;
9 9
10 int get pageX() native "return this.pageX;"; 10 final int pageX;
11 11
12 int get pageY() native "return this.pageY;"; 12 final int pageY;
13 13
14 int get screenX() native "return this.screenX;"; 14 final int screenX;
15 15
16 int get screenY() native "return this.screenY;"; 16 final int screenY;
17 17
18 _EventTargetJs get target() native "return this.target;"; 18 final _EventTargetJs target;
19 19
20 num get webkitForce() native "return this.webkitForce;"; 20 final num webkitForce;
21 21
22 int get webkitRadiusX() native "return this.webkitRadiusX;"; 22 final int webkitRadiusX;
23 23
24 int get webkitRadiusY() native "return this.webkitRadiusY;"; 24 final int webkitRadiusY;
25 25
26 num get webkitRotationAngle() native "return this.webkitRotationAngle;"; 26 final num webkitRotationAngle;
27 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698