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

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

Issue 8473008: Generate constants for IDL classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add frog dom Created 9 years 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;
5
6 static final int SVG_LENGTHTYPE_EMS = 3;
7
8 static final int SVG_LENGTHTYPE_EXS = 4;
9
10 static final int SVG_LENGTHTYPE_IN = 8;
11
12 static final int SVG_LENGTHTYPE_MM = 7;
13
14 static final int SVG_LENGTHTYPE_NUMBER = 1;
15
16 static final int SVG_LENGTHTYPE_PC = 10;
17
18 static final int SVG_LENGTHTYPE_PERCENTAGE = 2;
19
20 static final int SVG_LENGTHTYPE_PT = 9;
21
22 static final int SVG_LENGTHTYPE_PX = 5;
23
24 static final int SVG_LENGTHTYPE_UNKNOWN = 0;
25
4 int unitType; 26 int unitType;
5 27
6 num value; 28 num value;
7 29
8 String valueAsString; 30 String valueAsString;
9 31
10 num valueInSpecifiedUnits; 32 num valueInSpecifiedUnits;
11 33
12 void convertToSpecifiedUnits(int unitType) native; 34 void convertToSpecifiedUnits(int unitType) native;
13 35
14 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; 36 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
15 37
16 var dartObjectLocalStorage; 38 var dartObjectLocalStorage;
17 39
18 String get typeName() native; 40 String get typeName() native;
19 } 41 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/SVGGradientElement.dart ('k') | client/dom/generated/src/frog/SVGMarkerElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698