| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _EntryWrappingImplementation extends DOMWrapperBase implements Entry { | 7 class _EntryWrappingImplementation extends DOMWrapperBase implements Entry { |
| 8 _EntryWrappingImplementation() : super() {} | 8 _EntryWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__EntryWrappingImplementation() native { | 10 static create__EntryWrappingImplementation() native { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 } | 50 } |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 throw "Incorrect number or type of arguments"; | 53 throw "Incorrect number or type of arguments"; |
| 54 } | 54 } |
| 55 static void _copyTo(receiver, parent) native; | 55 static void _copyTo(receiver, parent) native; |
| 56 static void _copyTo_2(receiver, parent, name) native; | 56 static void _copyTo_2(receiver, parent, name) native; |
| 57 static void _copyTo_3(receiver, parent, name, successCallback) native; | 57 static void _copyTo_3(receiver, parent, name, successCallback) native; |
| 58 static void _copyTo_4(receiver, parent, name, successCallback, errorCallback)
native; | 58 static void _copyTo_4(receiver, parent, name, successCallback, errorCallback)
native; |
| 59 | 59 |
| 60 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k = null]) { | 60 void getMetadata([MetadataCallback successCallback = null, ErrorCallback error
Callback = null]) { |
| 61 if (errorCallback === null) { | 61 if (successCallback === null) { |
| 62 _getMetadata(this, successCallback); | 62 if (errorCallback === null) { |
| 63 return; | 63 _getMetadata(this); |
| 64 return; |
| 65 } |
| 64 } else { | 66 } else { |
| 65 _getMetadata_2(this, successCallback, errorCallback); | 67 if (errorCallback === null) { |
| 66 return; | 68 _getMetadata_2(this, successCallback); |
| 69 return; |
| 70 } else { |
| 71 _getMetadata_3(this, successCallback, errorCallback); |
| 72 return; |
| 73 } |
| 67 } | 74 } |
| 75 throw "Incorrect number or type of arguments"; |
| 68 } | 76 } |
| 69 static void _getMetadata(receiver, successCallback) native; | 77 static void _getMetadata(receiver) native; |
| 70 static void _getMetadata_2(receiver, successCallback, errorCallback) native; | 78 static void _getMetadata_2(receiver, successCallback) native; |
| 79 static void _getMetadata_3(receiver, successCallback, errorCallback) native; |
| 71 | 80 |
| 72 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb
ack = null]) { | 81 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb
ack = null]) { |
| 73 if (successCallback === null) { | 82 if (successCallback === null) { |
| 74 if (errorCallback === null) { | 83 if (errorCallback === null) { |
| 75 _getParent(this); | 84 _getParent(this); |
| 76 return; | 85 return; |
| 77 } | 86 } |
| 78 } else { | 87 } else { |
| 79 if (errorCallback === null) { | 88 if (errorCallback === null) { |
| 80 _getParent_2(this, successCallback); | 89 _getParent_2(this, successCallback); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 } | 123 } |
| 115 } | 124 } |
| 116 } | 125 } |
| 117 throw "Incorrect number or type of arguments"; | 126 throw "Incorrect number or type of arguments"; |
| 118 } | 127 } |
| 119 static void _moveTo(receiver, parent) native; | 128 static void _moveTo(receiver, parent) native; |
| 120 static void _moveTo_2(receiver, parent, name) native; | 129 static void _moveTo_2(receiver, parent, name) native; |
| 121 static void _moveTo_3(receiver, parent, name, successCallback) native; | 130 static void _moveTo_3(receiver, parent, name, successCallback) native; |
| 122 static void _moveTo_4(receiver, parent, name, successCallback, errorCallback)
native; | 131 static void _moveTo_4(receiver, parent, name, successCallback, errorCallback)
native; |
| 123 | 132 |
| 124 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null]
) { | 133 void remove([VoidCallback successCallback = null, ErrorCallback errorCallback
= null]) { |
| 125 if (errorCallback === null) { | 134 if (successCallback === null) { |
| 126 _remove(this, successCallback); | 135 if (errorCallback === null) { |
| 127 return; | 136 _remove(this); |
| 137 return; |
| 138 } |
| 128 } else { | 139 } else { |
| 129 _remove_2(this, successCallback, errorCallback); | 140 if (errorCallback === null) { |
| 130 return; | 141 _remove_2(this, successCallback); |
| 142 return; |
| 143 } else { |
| 144 _remove_3(this, successCallback, errorCallback); |
| 145 return; |
| 146 } |
| 131 } | 147 } |
| 148 throw "Incorrect number or type of arguments"; |
| 132 } | 149 } |
| 133 static void _remove(receiver, successCallback) native; | 150 static void _remove(receiver) native; |
| 134 static void _remove_2(receiver, successCallback, errorCallback) native; | 151 static void _remove_2(receiver, successCallback) native; |
| 152 static void _remove_3(receiver, successCallback, errorCallback) native; |
| 135 | 153 |
| 136 String toURL() { | 154 String toURL() { |
| 137 return _toURL(this); | 155 return _toURL(this); |
| 138 } | 156 } |
| 139 static String _toURL(receiver) native; | 157 static String _toURL(receiver) native; |
| 140 | 158 |
| 141 String get typeName() { return "Entry"; } | 159 String get typeName() { return "Entry"; } |
| 142 } | 160 } |
| OLD | NEW |