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

Side by Side Diff: client/dom/generated/src/frog/SVGPaint.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 _SVGPaintJs extends _SVGColorJs implements SVGPaint native "*SVGPaint" { 2 class _SVGPaintJs extends _SVGColorJs implements SVGPaint native "*SVGPaint" {
3 3
4 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102; 4 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102;
5 5
6 static final int SVG_PAINTTYPE_NONE = 101; 6 static final int SVG_PAINTTYPE_NONE = 101;
7 7
8 static final int SVG_PAINTTYPE_RGBCOLOR = 1; 8 static final int SVG_PAINTTYPE_RGBCOLOR = 1;
9 9
10 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2; 10 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
11 11
12 static final int SVG_PAINTTYPE_UNKNOWN = 0; 12 static final int SVG_PAINTTYPE_UNKNOWN = 0;
13 13
14 static final int SVG_PAINTTYPE_URI = 107; 14 static final int SVG_PAINTTYPE_URI = 107;
15 15
16 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104; 16 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
17 17
18 static final int SVG_PAINTTYPE_URI_NONE = 103; 18 static final int SVG_PAINTTYPE_URI_NONE = 103;
19 19
20 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105; 20 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105;
21 21
22 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106; 22 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
23 23
24 int get paintType() native "return this.paintType;"; 24 final int paintType;
25 25
26 String get uri() native "return this.uri;"; 26 final String uri;
27 27
28 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat ive; 28 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat ive;
29 29
30 void setUri(String uri) native; 30 void setUri(String uri) native;
31 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698