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

Side by Side Diff: client/html/generated/html/dartium/DirectoryEntry.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 _DirectoryEntryImpl extends _EntryImpl implements DirectoryEntry {
3 _DirectoryEntryImpl._wrap(ptr) : super._wrap(ptr);
4
5 DirectoryReader createReader() {
6 return _wrap(_ptr.createReader());
7 }
8
9 void getDirectory(String path, [Object flags = null, EntryCallback successCall back = null, ErrorCallback errorCallback = null]) {
10 if (flags === null) {
11 if (successCallback === null) {
12 if (errorCallback === null) {
13 _ptr.getDirectory(_unwrap(path));
14 return;
15 }
16 }
17 } else {
18 if (successCallback === null) {
19 if (errorCallback === null) {
20 _ptr.getDirectory(_unwrap(path), _unwrap(flags));
21 return;
22 }
23 } else {
24 if (errorCallback === null) {
25 _ptr.getDirectory(_unwrap(path), _unwrap(flags), _unwrap(successCallba ck));
26 return;
27 } else {
28 _ptr.getDirectory(_unwrap(path), _unwrap(flags), _unwrap(successCallba ck), _unwrap(errorCallback));
29 return;
30 }
31 }
32 }
33 throw "Incorrect number or type of arguments";
34 }
35
36 void getFile(String path, [Object flags = null, EntryCallback successCallback = null, ErrorCallback errorCallback = null]) {
37 if (flags === null) {
38 if (successCallback === null) {
39 if (errorCallback === null) {
40 _ptr.getFile(_unwrap(path));
41 return;
42 }
43 }
44 } else {
45 if (successCallback === null) {
46 if (errorCallback === null) {
47 _ptr.getFile(_unwrap(path), _unwrap(flags));
48 return;
49 }
50 } else {
51 if (errorCallback === null) {
52 _ptr.getFile(_unwrap(path), _unwrap(flags), _unwrap(successCallback));
53 return;
54 } else {
55 _ptr.getFile(_unwrap(path), _unwrap(flags), _unwrap(successCallback), _unwrap(errorCallback));
56 return;
57 }
58 }
59 }
60 throw "Incorrect number or type of arguments";
61 }
62
63 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack = null]) {
64 if (errorCallback === null) {
65 _ptr.removeRecursively(_unwrap(successCallback));
66 return;
67 } else {
68 _ptr.removeRecursively(_unwrap(successCallback), _unwrap(errorCallback));
69 return;
70 }
71 }
72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698