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

Unified Diff: client/dom/generated/src/wrapping/_EntryWrappingImplementation.dart

Issue 9615032: Refresh dom_frog. (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 side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/wrapping/_EntryWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_EntryWrappingImplementation.dart b/client/dom/generated/src/wrapping/_EntryWrappingImplementation.dart
index 036c9cee5177a9892920b3c687bda542b3f91732..4c22c74db2be0b76f23b9730aba46d85863a361f 100644
--- a/client/dom/generated/src/wrapping/_EntryWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_EntryWrappingImplementation.dart
@@ -27,10 +27,21 @@ class _EntryWrappingImplementation extends DOMWrapperBase implements Entry {
static String _get_name(var _this) native;
void copyTo(DirectoryEntry parent, [String name = null, EntryCallback successCallback = null, ErrorCallback errorCallback = null]) {
- _copyTo(this, parent, name, successCallback, errorCallback);
- return;
+ if (name === null) {
+ if (successCallback === null) {
+ if (errorCallback === null) {
+ _copyTo(this, parent);
+ return;
+ }
+ }
+ } else {
+ _copyTo_2(this, parent, name, successCallback, errorCallback);
+ return;
+ }
+ throw "Incorrect number or type of arguments";
}
- static void _copyTo(receiver, parent, name, successCallback, errorCallback) native;
+ static void _copyTo(receiver, parent) native;
+ static void _copyTo_2(receiver, parent, name, successCallback, errorCallback) native;
void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallback = null]) {
_getMetadata(this, successCallback, errorCallback);
@@ -45,10 +56,21 @@ class _EntryWrappingImplementation extends DOMWrapperBase implements Entry {
static void _getParent(receiver, successCallback, errorCallback) native;
void moveTo(DirectoryEntry parent, [String name = null, EntryCallback successCallback = null, ErrorCallback errorCallback = null]) {
- _moveTo(this, parent, name, successCallback, errorCallback);
- return;
+ if (name === null) {
+ if (successCallback === null) {
+ if (errorCallback === null) {
+ _moveTo(this, parent);
+ return;
+ }
+ }
+ } else {
+ _moveTo_2(this, parent, name, successCallback, errorCallback);
+ return;
+ }
+ throw "Incorrect number or type of arguments";
}
- static void _moveTo(receiver, parent, name, successCallback, errorCallback) native;
+ static void _moveTo(receiver, parent) native;
+ static void _moveTo_2(receiver, parent, name, successCallback, errorCallback) native;
void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null]) {
_remove(this, successCallback, errorCallback);

Powered by Google App Engine
This is Rietveld 408576698