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

Side by Side Diff: client/dom/generated/src/frog/SVGTransform.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 _SVGTransformJs extends _DOMTypeJs implements SVGTransform native "*SVGTra nsform" { 2 class _SVGTransformJs extends _DOMTypeJs implements SVGTransform native "*SVGTra nsform" {
3 3
4 static final int SVG_TRANSFORM_MATRIX = 1; 4 static final int SVG_TRANSFORM_MATRIX = 1;
5 5
6 static final int SVG_TRANSFORM_ROTATE = 4; 6 static final int SVG_TRANSFORM_ROTATE = 4;
7 7
8 static final int SVG_TRANSFORM_SCALE = 3; 8 static final int SVG_TRANSFORM_SCALE = 3;
9 9
10 static final int SVG_TRANSFORM_SKEWX = 5; 10 static final int SVG_TRANSFORM_SKEWX = 5;
11 11
12 static final int SVG_TRANSFORM_SKEWY = 6; 12 static final int SVG_TRANSFORM_SKEWY = 6;
13 13
14 static final int SVG_TRANSFORM_TRANSLATE = 2; 14 static final int SVG_TRANSFORM_TRANSLATE = 2;
15 15
16 static final int SVG_TRANSFORM_UNKNOWN = 0; 16 static final int SVG_TRANSFORM_UNKNOWN = 0;
17 17
18 num get angle() native "return this.angle;"; 18 final num angle;
19 19
20 _SVGMatrixJs get matrix() native "return this.matrix;"; 20 final _SVGMatrixJs matrix;
21 21
22 int get type() native "return this.type;"; 22 final int type;
23 23
24 void setMatrix(_SVGMatrixJs matrix) native; 24 void setMatrix(_SVGMatrixJs matrix) native;
25 25
26 void setRotate(num angle, num cx, num cy) native; 26 void setRotate(num angle, num cx, num cy) native;
27 27
28 void setScale(num sx, num sy) native; 28 void setScale(num sx, num sy) native;
29 29
30 void setSkewX(num angle) native; 30 void setSkewX(num angle) native;
31 31
32 void setSkewY(num angle) native; 32 void setSkewY(num angle) native;
33 33
34 void setTranslate(num tx, num ty) native; 34 void setTranslate(num tx, num ty) native;
35 } 35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698