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

Side by Side Diff: client/html/generated/html/dartium/FileWriterSync.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 _FileWriterSyncImpl extends _DOMTypeBase implements FileWriterSync {
3 _FileWriterSyncImpl._wrap(ptr) : super._wrap(ptr);
4
5 int get length() => _wrap(_ptr.length);
6
7 int get position() => _wrap(_ptr.position);
8
9 void seek(int position) {
10 _ptr.seek(_unwrap(position));
11 return;
12 }
13
14 void truncate(int size) {
15 _ptr.truncate(_unwrap(size));
16 return;
17 }
18
19 void write(Blob data) {
20 _ptr.write(_unwrap(data));
21 return;
22 }
23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698