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

Side by Side Diff: client/dom/generated/src/frog/SVGGradientElement.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 _SVGGradientElementJs extends _SVGElementJs implements SVGGradientElement native "*SVGGradientElement" { 2 class _SVGGradientElementJs extends _SVGElementJs implements SVGGradientElement native "*SVGGradientElement" {
3 3
4 static final int SVG_SPREADMETHOD_PAD = 1; 4 static final int SVG_SPREADMETHOD_PAD = 1;
5 5
6 static final int SVG_SPREADMETHOD_REFLECT = 2; 6 static final int SVG_SPREADMETHOD_REFLECT = 2;
7 7
8 static final int SVG_SPREADMETHOD_REPEAT = 3; 8 static final int SVG_SPREADMETHOD_REPEAT = 3;
9 9
10 static final int SVG_SPREADMETHOD_UNKNOWN = 0; 10 static final int SVG_SPREADMETHOD_UNKNOWN = 0;
11 11
12 _SVGAnimatedTransformListJs get gradientTransform() native "return this.gradie ntTransform;"; 12 final _SVGAnimatedTransformListJs gradientTransform;
13 13
14 _SVGAnimatedEnumerationJs get gradientUnits() native "return this.gradientUnit s;"; 14 final _SVGAnimatedEnumerationJs gradientUnits;
15 15
16 _SVGAnimatedEnumerationJs get spreadMethod() native "return this.spreadMethod; "; 16 final _SVGAnimatedEnumerationJs spreadMethod;
17 17
18 // From SVGURIReference 18 // From SVGURIReference
19 19
20 _SVGAnimatedStringJs get href() native "return this.href;"; 20 final _SVGAnimatedStringJs href;
21 21
22 // From SVGExternalResourcesRequired 22 // From SVGExternalResourcesRequired
23 23
24 _SVGAnimatedBooleanJs get externalResourcesRequired() native "return this.exte rnalResourcesRequired;"; 24 final _SVGAnimatedBooleanJs externalResourcesRequired;
25 25
26 // From SVGStylable 26 // From SVGStylable
27 27
28 _SVGAnimatedStringJs get className() native "return this.className;"; 28 final _SVGAnimatedStringJs className;
29 29
30 _CSSStyleDeclarationJs get style() native "return this.style;"; 30 final _CSSStyleDeclarationJs style;
31 31
32 _CSSValueJs getPresentationAttribute(String name) native; 32 _CSSValueJs getPresentationAttribute(String name) native;
33 } 33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698