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

Side by Side Diff: client/dom/generated/src/frog/SVGColor.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 _SVGColorJs extends _CSSValueJs implements SVGColor native "*SVGColor" { 2 class _SVGColorJs extends _CSSValueJs implements SVGColor native "*SVGColor" {
3 3
4 static final int SVG_COLORTYPE_CURRENTCOLOR = 3; 4 static final int SVG_COLORTYPE_CURRENTCOLOR = 3;
5 5
6 static final int SVG_COLORTYPE_RGBCOLOR = 1; 6 static final int SVG_COLORTYPE_RGBCOLOR = 1;
7 7
8 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; 8 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
9 9
10 static final int SVG_COLORTYPE_UNKNOWN = 0; 10 static final int SVG_COLORTYPE_UNKNOWN = 0;
11 11
12 int get colorType() native "return this.colorType;"; 12 final int colorType;
13 13
14 _RGBColorJs get rgbColor() native "return this.rgbColor;"; 14 final _RGBColorJs rgbColor;
15 15
16 void setColor(int colorType, String rgbColor, String iccColor) native; 16 void setColor(int colorType, String rgbColor, String iccColor) native;
17 17
18 void setRGBColor(String rgbColor) native; 18 void setRGBColor(String rgbColor) native;
19 19
20 void setRGBColorICCColor(String rgbColor, String iccColor) native; 20 void setRGBColorICCColor(String rgbColor, String iccColor) native;
21 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698