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

Side by Side Diff: client/dom/generated/src/frog/CSSPrimitiveValue.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 _CSSPrimitiveValueJs extends _CSSValueJs implements CSSPrimitiveValue nati ve "*CSSPrimitiveValue" { 2 class _CSSPrimitiveValueJs extends _CSSValueJs implements CSSPrimitiveValue nati ve "*CSSPrimitiveValue" {
3 3
4 static final int CSS_ATTR = 22; 4 static final int CSS_ATTR = 22;
5 5
6 static final int CSS_CM = 6; 6 static final int CSS_CM = 6;
7 7
8 static final int CSS_COUNTER = 23; 8 static final int CSS_COUNTER = 23;
9 9
10 static final int CSS_DEG = 11; 10 static final int CSS_DEG = 11;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 static final int CSS_RGBCOLOR = 25; 46 static final int CSS_RGBCOLOR = 25;
47 47
48 static final int CSS_S = 15; 48 static final int CSS_S = 15;
49 49
50 static final int CSS_STRING = 19; 50 static final int CSS_STRING = 19;
51 51
52 static final int CSS_UNKNOWN = 0; 52 static final int CSS_UNKNOWN = 0;
53 53
54 static final int CSS_URI = 20; 54 static final int CSS_URI = 20;
55 55
56 int get primitiveType() native "return this.primitiveType;"; 56 final int primitiveType;
57 57
58 _CounterJs getCounterValue() native; 58 _CounterJs getCounterValue() native;
59 59
60 num getFloatValue(int unitType) native; 60 num getFloatValue(int unitType) native;
61 61
62 _RGBColorJs getRGBColorValue() native; 62 _RGBColorJs getRGBColorValue() native;
63 63
64 _RectJs getRectValue() native; 64 _RectJs getRectValue() native;
65 65
66 String getStringValue() native; 66 String getStringValue() native;
67 67
68 void setFloatValue(int unitType, num floatValue) native; 68 void setFloatValue(int unitType, num floatValue) native;
69 69
70 void setStringValue(int stringType, String stringValue) native; 70 void setStringValue(int stringType, String stringValue) native;
71 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698