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

Side by Side Diff: client/dom/generated/src/frog/Coordinates.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 _CoordinatesJs extends _DOMTypeJs implements Coordinates native "*Coordina tes" { 2 class _CoordinatesJs extends _DOMTypeJs implements Coordinates native "*Coordina tes" {
3 3
4 num get accuracy() native "return this.accuracy;"; 4 final num accuracy;
5 5
6 num get altitude() native "return this.altitude;"; 6 final num altitude;
7 7
8 num get altitudeAccuracy() native "return this.altitudeAccuracy;"; 8 final num altitudeAccuracy;
9 9
10 num get heading() native "return this.heading;"; 10 final num heading;
11 11
12 num get latitude() native "return this.latitude;"; 12 final num latitude;
13 13
14 num get longitude() native "return this.longitude;"; 14 final num longitude;
15 15
16 num get speed() native "return this.speed;"; 16 final num speed;
17 } 17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698