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

Unified Diff: client/dom/generated/src/frog/CanvasRenderingContext2D.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 side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/frog/CanvasRenderingContext2D.dart
diff --git a/client/dom/generated/src/frog/CanvasRenderingContext2D.dart b/client/dom/generated/src/frog/CanvasRenderingContext2D.dart
index 919eba7664ea967bca2353b03c0cdba0786d9fc3..2c85e16be0008397fabf2cb16c15d0c7f4acb6fe 100644
--- a/client/dom/generated/src/frog/CanvasRenderingContext2D.dart
+++ b/client/dom/generated/src/frog/CanvasRenderingContext2D.dart
@@ -1,39 +1,73 @@
class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRenderingContext2D" {
- Dynamic fillStyle;
+ Dynamic get fillStyle() native "return this.fillStyle;";
- String font;
+ void set fillStyle(Dynamic value) native "this.fillStyle = value;";
- num globalAlpha;
+ String get font() native "return this.font;";
- String globalCompositeOperation;
+ void set font(String value) native "this.font = value;";
- String lineCap;
+ num get globalAlpha() native "return this.globalAlpha;";
- String lineJoin;
+ void set globalAlpha(num value) native "this.globalAlpha = value;";
- num lineWidth;
+ String get globalCompositeOperation() native "return this.globalCompositeOperation;";
- num miterLimit;
+ void set globalCompositeOperation(String value) native "this.globalCompositeOperation = value;";
- num shadowBlur;
+ String get lineCap() native "return this.lineCap;";
- String shadowColor;
+ void set lineCap(String value) native "this.lineCap = value;";
- num shadowOffsetX;
+ String get lineJoin() native "return this.lineJoin;";
- num shadowOffsetY;
+ void set lineJoin(String value) native "this.lineJoin = value;";
- Dynamic strokeStyle;
+ num get lineWidth() native "return this.lineWidth;";
- String textAlign;
+ void set lineWidth(num value) native "this.lineWidth = value;";
- String textBaseline;
+ num get miterLimit() native "return this.miterLimit;";
- List webkitLineDash;
+ void set miterLimit(num value) native "this.miterLimit = value;";
- num webkitLineDashOffset;
+ num get shadowBlur() native "return this.shadowBlur;";
+
+ void set shadowBlur(num value) native "this.shadowBlur = value;";
+
+ String get shadowColor() native "return this.shadowColor;";
+
+ void set shadowColor(String value) native "this.shadowColor = value;";
+
+ num get shadowOffsetX() native "return this.shadowOffsetX;";
+
+ void set shadowOffsetX(num value) native "this.shadowOffsetX = value;";
+
+ num get shadowOffsetY() native "return this.shadowOffsetY;";
+
+ void set shadowOffsetY(num value) native "this.shadowOffsetY = value;";
+
+ Dynamic get strokeStyle() native "return this.strokeStyle;";
+
+ void set strokeStyle(Dynamic value) native "this.strokeStyle = value;";
+
+ String get textAlign() native "return this.textAlign;";
+
+ void set textAlign(String value) native "this.textAlign = value;";
+
+ String get textBaseline() native "return this.textBaseline;";
+
+ void set textBaseline(String value) native "this.textBaseline = value;";
+
+ List get webkitLineDash() native "return this.webkitLineDash;";
+
+ void set webkitLineDash(List value) native "this.webkitLineDash = value;";
+
+ num get webkitLineDashOffset() native "return this.webkitLineDashOffset;";
+
+ void set webkitLineDashOffset(num value) native "this.webkitLineDashOffset = value;";
void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native;
« no previous file with comments | « client/dom/generated/src/frog/CanvasRenderingContext.dart ('k') | client/dom/generated/src/frog/CharacterData.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698