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

Side by Side Diff: client/html/generated/html/dartium/CSSPrimitiveValue.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
(Empty)
1
2 class _CSSPrimitiveValueImpl extends _CSSValueImpl implements CSSPrimitiveValue {
3 _CSSPrimitiveValueImpl._wrap(ptr) : super._wrap(ptr);
4
5 int get primitiveType() => _wrap(_ptr.primitiveType);
6
7 Counter getCounterValue() {
8 return _wrap(_ptr.getCounterValue());
9 }
10
11 num getFloatValue(int unitType) {
12 return _wrap(_ptr.getFloatValue(_unwrap(unitType)));
13 }
14
15 RGBColor getRGBColorValue() {
16 return _wrap(_ptr.getRGBColorValue());
17 }
18
19 Rect getRectValue() {
20 return _wrap(_ptr.getRectValue());
21 }
22
23 String getStringValue() {
24 return _wrap(_ptr.getStringValue());
25 }
26
27 void setFloatValue(int unitType, num floatValue) {
28 _ptr.setFloatValue(_unwrap(unitType), _unwrap(floatValue));
29 return;
30 }
31
32 void setStringValue(int stringType, String stringValue) {
33 _ptr.setStringValue(_unwrap(stringType), _unwrap(stringValue));
34 return;
35 }
36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698