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

Side by Side Diff: client/dom/generated/src/frog/SVGMatrix.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 _SVGMatrixJs extends _DOMTypeJs implements SVGMatrix native "*SVGMatrix" { 2 class _SVGMatrixJs extends _DOMTypeJs implements SVGMatrix native "*SVGMatrix" {
3 3
4 num get a() native "return this.a;"; 4 num a;
5 5
6 void set a(num value) native "this.a = value;"; 6 num b;
7 7
8 num get b() native "return this.b;"; 8 num c;
9 9
10 void set b(num value) native "this.b = value;"; 10 num d;
11 11
12 num get c() native "return this.c;"; 12 num e;
13 13
14 void set c(num value) native "this.c = value;"; 14 num f;
15
16 num get d() native "return this.d;";
17
18 void set d(num value) native "this.d = value;";
19
20 num get e() native "return this.e;";
21
22 void set e(num value) native "this.e = value;";
23
24 num get f() native "return this.f;";
25
26 void set f(num value) native "this.f = value;";
27 15
28 _SVGMatrixJs flipX() native; 16 _SVGMatrixJs flipX() native;
29 17
30 _SVGMatrixJs flipY() native; 18 _SVGMatrixJs flipY() native;
31 19
32 _SVGMatrixJs inverse() native; 20 _SVGMatrixJs inverse() native;
33 21
34 _SVGMatrixJs multiply(_SVGMatrixJs secondMatrix) native; 22 _SVGMatrixJs multiply(_SVGMatrixJs secondMatrix) native;
35 23
36 _SVGMatrixJs rotate(num angle) native; 24 _SVGMatrixJs rotate(num angle) native;
37 25
38 _SVGMatrixJs rotateFromVector(num x, num y) native; 26 _SVGMatrixJs rotateFromVector(num x, num y) native;
39 27
40 _SVGMatrixJs scale(num scaleFactor) native; 28 _SVGMatrixJs scale(num scaleFactor) native;
41 29
42 _SVGMatrixJs scaleNonUniform(num scaleFactorX, num scaleFactorY) native; 30 _SVGMatrixJs scaleNonUniform(num scaleFactorX, num scaleFactorY) native;
43 31
44 _SVGMatrixJs skewX(num angle) native; 32 _SVGMatrixJs skewX(num angle) native;
45 33
46 _SVGMatrixJs skewY(num angle) native; 34 _SVGMatrixJs skewY(num angle) native;
47 35
48 _SVGMatrixJs translate(num x, num y) native; 36 _SVGMatrixJs translate(num x, num y) native;
49 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698