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

Side by Side Diff: client/dom/generated/src/frog/SVGPathSeg.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 _SVGPathSegJs extends _DOMTypeJs implements SVGPathSeg native "*SVGPathSeg " { 2 class _SVGPathSegJs extends _DOMTypeJs implements SVGPathSeg native "*SVGPathSeg " {
3 3
4 static final int PATHSEG_ARC_ABS = 10; 4 static final int PATHSEG_ARC_ABS = 10;
5 5
6 static final int PATHSEG_ARC_REL = 11; 6 static final int PATHSEG_ARC_REL = 11;
7 7
8 static final int PATHSEG_CLOSEPATH = 1; 8 static final int PATHSEG_CLOSEPATH = 1;
9 9
10 static final int PATHSEG_CURVETO_CUBIC_ABS = 6; 10 static final int PATHSEG_CURVETO_CUBIC_ABS = 6;
(...skipping 23 matching lines...) Expand all
34 static final int PATHSEG_LINETO_VERTICAL_ABS = 14; 34 static final int PATHSEG_LINETO_VERTICAL_ABS = 14;
35 35
36 static final int PATHSEG_LINETO_VERTICAL_REL = 15; 36 static final int PATHSEG_LINETO_VERTICAL_REL = 15;
37 37
38 static final int PATHSEG_MOVETO_ABS = 2; 38 static final int PATHSEG_MOVETO_ABS = 2;
39 39
40 static final int PATHSEG_MOVETO_REL = 3; 40 static final int PATHSEG_MOVETO_REL = 3;
41 41
42 static final int PATHSEG_UNKNOWN = 0; 42 static final int PATHSEG_UNKNOWN = 0;
43 43
44 int get pathSegType() native "return this.pathSegType;"; 44 final int pathSegType;
45 45
46 String get pathSegTypeAsLetter() native "return this.pathSegTypeAsLetter;"; 46 final String pathSegTypeAsLetter;
47 } 47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698