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

Side by Side Diff: client/dom/generated/src/frog/SVGAngle.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 _SVGAngleJs extends _DOMTypeJs implements SVGAngle native "*SVGAngle" { 2 class _SVGAngleJs extends _DOMTypeJs implements SVGAngle native "*SVGAngle" {
3 3
4 static final int SVG_ANGLETYPE_DEG = 2; 4 static final int SVG_ANGLETYPE_DEG = 2;
5 5
6 static final int SVG_ANGLETYPE_GRAD = 4; 6 static final int SVG_ANGLETYPE_GRAD = 4;
7 7
8 static final int SVG_ANGLETYPE_RAD = 3; 8 static final int SVG_ANGLETYPE_RAD = 3;
9 9
10 static final int SVG_ANGLETYPE_UNKNOWN = 0; 10 static final int SVG_ANGLETYPE_UNKNOWN = 0;
11 11
12 static final int SVG_ANGLETYPE_UNSPECIFIED = 1; 12 static final int SVG_ANGLETYPE_UNSPECIFIED = 1;
13 13
14 int get unitType() native "return this.unitType;"; 14 final int unitType;
15 15
16 num get value() native "return this.value;"; 16 num value;
17 17
18 void set value(num value) native "this.value = value;"; 18 String valueAsString;
19 19
20 String get valueAsString() native "return this.valueAsString;"; 20 num valueInSpecifiedUnits;
21
22 void set valueAsString(String value) native "this.valueAsString = value;";
23
24 num get valueInSpecifiedUnits() native "return this.valueInSpecifiedUnits;";
25
26 void set valueInSpecifiedUnits(num value) native "this.valueInSpecifiedUnits = value;";
27 21
28 void convertToSpecifiedUnits(int unitType) native; 22 void convertToSpecifiedUnits(int unitType) native;
29 23
30 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; 24 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
31 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698