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

Side by Side Diff: client/html/generated/html/dartium/FileEntry.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 _FileEntryImpl extends _EntryImpl implements FileEntry {
3 _FileEntryImpl._wrap(ptr) : super._wrap(ptr);
4
5 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back = null]) {
6 if (errorCallback === null) {
7 _ptr.createWriter(_unwrap(successCallback));
8 return;
9 } else {
10 _ptr.createWriter(_unwrap(successCallback), _unwrap(errorCallback));
11 return;
12 }
13 }
14
15 void file(FileCallback successCallback, [ErrorCallback errorCallback = null]) {
16 if (errorCallback === null) {
17 _ptr.file(_unwrap(successCallback));
18 return;
19 } else {
20 _ptr.file(_unwrap(successCallback), _unwrap(errorCallback));
21 return;
22 }
23 }
24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698