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

Side by Side Diff: client/dom/generated/src/wrapping/_EntryWrappingImplementation.dart

Issue 9106002: Revert "Revert "Refresh dart:dom"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix dartc issues Created 8 years, 11 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
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
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 = null, ErrorCallback error Callback = null]) { 60 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k = null]) {
61 if (successCallback === null) { 61 if (errorCallback === null) {
62 if (errorCallback === null) { 62 _getMetadata(this, successCallback);
63 _getMetadata(this); 63 return;
64 return;
65 }
66 } else { 64 } else {
67 if (errorCallback === null) { 65 _getMetadata_2(this, successCallback, errorCallback);
68 _getMetadata_2(this, successCallback); 66 return;
69 return;
70 } else {
71 _getMetadata_3(this, successCallback, errorCallback);
72 return;
73 }
74 } 67 }
75 throw "Incorrect number or type of arguments";
76 } 68 }
77 static void _getMetadata(receiver) native; 69 static void _getMetadata(receiver, successCallback) native;
78 static void _getMetadata_2(receiver, successCallback) native; 70 static void _getMetadata_2(receiver, successCallback, errorCallback) native;
79 static void _getMetadata_3(receiver, successCallback, errorCallback) native;
80 71
81 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) { 72 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) {
82 if (successCallback === null) { 73 if (successCallback === null) {
83 if (errorCallback === null) { 74 if (errorCallback === null) {
84 _getParent(this); 75 _getParent(this);
85 return; 76 return;
86 } 77 }
87 } else { 78 } else {
88 if (errorCallback === null) { 79 if (errorCallback === null) {
89 _getParent_2(this, successCallback); 80 _getParent_2(this, successCallback);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 114 }
124 } 115 }
125 } 116 }
126 throw "Incorrect number or type of arguments"; 117 throw "Incorrect number or type of arguments";
127 } 118 }
128 static void _moveTo(receiver, parent) native; 119 static void _moveTo(receiver, parent) native;
129 static void _moveTo_2(receiver, parent, name) native; 120 static void _moveTo_2(receiver, parent, name) native;
130 static void _moveTo_3(receiver, parent, name, successCallback) native; 121 static void _moveTo_3(receiver, parent, name, successCallback) native;
131 static void _moveTo_4(receiver, parent, name, successCallback, errorCallback) native; 122 static void _moveTo_4(receiver, parent, name, successCallback, errorCallback) native;
132 123
133 void remove([VoidCallback successCallback = null, ErrorCallback errorCallback = null]) { 124 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null] ) {
134 if (successCallback === null) { 125 if (errorCallback === null) {
135 if (errorCallback === null) { 126 _remove(this, successCallback);
136 _remove(this); 127 return;
137 return;
138 }
139 } else { 128 } else {
140 if (errorCallback === null) { 129 _remove_2(this, successCallback, errorCallback);
141 _remove_2(this, successCallback); 130 return;
142 return;
143 } else {
144 _remove_3(this, successCallback, errorCallback);
145 return;
146 }
147 } 131 }
148 throw "Incorrect number or type of arguments";
149 } 132 }
150 static void _remove(receiver) native; 133 static void _remove(receiver, successCallback) native;
151 static void _remove_2(receiver, successCallback) native; 134 static void _remove_2(receiver, successCallback, errorCallback) native;
152 static void _remove_3(receiver, successCallback, errorCallback) native;
153 135
154 String toURL() { 136 String toURL() {
155 return _toURL(this); 137 return _toURL(this);
156 } 138 }
157 static String _toURL(receiver) native; 139 static String _toURL(receiver) native;
158 140
159 String get typeName() { return "Entry"; } 141 String get typeName() { return "Entry"; }
160 } 142 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698