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

Side by Side Diff: client/dom/generated/src/frog/SVGLength.dart

Issue 9221006: Move frog dart:dom from fields to getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comment Created 8 years, 11 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 SVGLength native "*SVGLength" { 2 class SVGLength native "*SVGLength" {
3 3
4 static final int SVG_LENGTHTYPE_CM = 6; 4 static final int SVG_LENGTHTYPE_CM = 6;
5 5
6 static final int SVG_LENGTHTYPE_EMS = 3; 6 static final int SVG_LENGTHTYPE_EMS = 3;
7 7
8 static final int SVG_LENGTHTYPE_EXS = 4; 8 static final int SVG_LENGTHTYPE_EXS = 4;
9 9
10 static final int SVG_LENGTHTYPE_IN = 8; 10 static final int SVG_LENGTHTYPE_IN = 8;
11 11
12 static final int SVG_LENGTHTYPE_MM = 7; 12 static final int SVG_LENGTHTYPE_MM = 7;
13 13
14 static final int SVG_LENGTHTYPE_NUMBER = 1; 14 static final int SVG_LENGTHTYPE_NUMBER = 1;
15 15
16 static final int SVG_LENGTHTYPE_PC = 10; 16 static final int SVG_LENGTHTYPE_PC = 10;
17 17
18 static final int SVG_LENGTHTYPE_PERCENTAGE = 2; 18 static final int SVG_LENGTHTYPE_PERCENTAGE = 2;
19 19
20 static final int SVG_LENGTHTYPE_PT = 9; 20 static final int SVG_LENGTHTYPE_PT = 9;
21 21
22 static final int SVG_LENGTHTYPE_PX = 5; 22 static final int SVG_LENGTHTYPE_PX = 5;
23 23
24 static final int SVG_LENGTHTYPE_UNKNOWN = 0; 24 static final int SVG_LENGTHTYPE_UNKNOWN = 0;
25 25
26 int unitType; 26 int get unitType() native "return this.unitType;";
27 27
28 num value; 28 num get value() native "return this.value;";
29 29
30 String valueAsString; 30 void set value(num value) native "this.value = value;";
31 31
32 num valueInSpecifiedUnits; 32 String get valueAsString() native "return this.valueAsString;";
33
34 void set valueAsString(String value) native "this.valueAsString = value;";
35
36 num get valueInSpecifiedUnits() native "return this.valueInSpecifiedUnits;";
37
38 void set valueInSpecifiedUnits(num value) native "this.valueInSpecifiedUnits = value;";
33 39
34 void convertToSpecifiedUnits(int unitType) native; 40 void convertToSpecifiedUnits(int unitType) native;
35 41
36 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; 42 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
37 43
38 var dartObjectLocalStorage; 44 var dartObjectLocalStorage;
39 45
40 String get typeName() native; 46 String get typeName() native;
41 } 47 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/SVGLangSpace.dart ('k') | client/dom/generated/src/frog/SVGLengthList.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698