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

Side by Side Diff: client/dom/generated/src/frog/SVGPreserveAspectRatio.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 _SVGPreserveAspectRatioJs extends _DOMTypeJs implements SVGPreserveAspectR atio native "*SVGPreserveAspectRatio" { 2 class _SVGPreserveAspectRatioJs extends _DOMTypeJs implements SVGPreserveAspectR atio native "*SVGPreserveAspectRatio" {
3 3
4 static final int SVG_MEETORSLICE_MEET = 1; 4 static final int SVG_MEETORSLICE_MEET = 1;
5 5
6 static final int SVG_MEETORSLICE_SLICE = 2; 6 static final int SVG_MEETORSLICE_SLICE = 2;
7 7
8 static final int SVG_MEETORSLICE_UNKNOWN = 0; 8 static final int SVG_MEETORSLICE_UNKNOWN = 0;
9 9
10 static final int SVG_PRESERVEASPECTRATIO_NONE = 1; 10 static final int SVG_PRESERVEASPECTRATIO_NONE = 1;
(...skipping 11 matching lines...) Expand all
22 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6; 22 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
23 23
24 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3; 24 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
25 25
26 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8; 26 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
27 27
28 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5; 28 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
29 29
30 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2; 30 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
31 31
32 int get align() native "return this.align;"; 32 int align;
33 33
34 void set align(int value) native "this.align = value;"; 34 int meetOrSlice;
35
36 int get meetOrSlice() native "return this.meetOrSlice;";
37
38 void set meetOrSlice(int value) native "this.meetOrSlice = value;";
39 } 35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698