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

Side by Side Diff: client/html/generated/html/dartium/CanvasElement.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 _CanvasElementImpl extends _ElementImpl implements CanvasElement {
3 _CanvasElementImpl._wrap(ptr) : super._wrap(ptr);
4
5 int get height() => _wrap(_ptr.height);
6
7 void set height(int value) { _ptr.height = _unwrap(value); }
8
9 int get width() => _wrap(_ptr.width);
10
11 void set width(int value) { _ptr.width = _unwrap(value); }
12
13 Object getContext(String contextId) {
14 return _wrap(_ptr.getContext(_unwrap(contextId)));
15 }
16
17 String toDataURL(String type) {
18 return _wrap(_ptr.toDataURL(_unwrap(type)));
19 }
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698