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

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

Issue 9233028: Frog dart:dom using interfaces and native implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class HTMLCanvasElement extends HTMLElement native "*HTMLCanvasElement" { 2 class HTMLCanvasElementJS extends HTMLElementJS implements HTMLCanvasElement nat ive "*HTMLCanvasElement" {
3 3
4 int get height() native "return this.height;"; 4 int get height() native "return this.height;";
5 5
6 void set height(int value) native "this.height = value;"; 6 void set height(int value) native "this.height = value;";
7 7
8 int get width() native "return this.width;"; 8 int get width() native "return this.width;";
9 9
10 void set width(int value) native "this.width = value;"; 10 void set width(int value) native "this.width = value;";
11 11
12 Object getContext(String contextId) native; 12 Object getContext(String contextId) native;
13 13
14 String toDataURL(String type) native; 14 String toDataURL(String type) native;
15 } 15 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/HTMLButtonElement.dart ('k') | client/dom/generated/src/frog/HTMLCollection.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698