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

Side by Side Diff: client/dom/generated/src/frog/SVGRect.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 _SVGRectJs extends _DOMTypeJs implements SVGRect native "*SVGRect" { 2 class _SVGRectJs extends _DOMTypeJs implements SVGRect native "*SVGRect" {
3 3
4 num get height() native "return this.height;"; 4 num height;
5 5
6 void set height(num value) native "this.height = value;"; 6 num width;
7 7
8 num get width() native "return this.width;"; 8 num x;
9 9
10 void set width(num value) native "this.width = value;"; 10 num y;
11
12 num get x() native "return this.x;";
13
14 void set x(num value) native "this.x = value;";
15
16 num get y() native "return this.y;";
17
18 void set y(num value) native "this.y = value;";
19 } 11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698