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

Side by Side Diff: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart

Issue 18577002: Reapply expanding overloaded functions into separate functions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 library dart.dom.indexed_db; 1 library dart.dom.indexed_db;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:html'; 4 import 'dart:html';
5 import 'dart:html_common'; 5 import 'dart:html_common';
6 import 'dart:nativewrappers'; 6 import 'dart:nativewrappers';
7 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8 // for details. All rights reserved. Use of this source code is governed by a 8 // for details. All rights reserved. Use of this source code is governed by a
9 // BSD-style license that can be found in the LICENSE file. 9 // BSD-style license that can be found in the LICENSE file.
10 10
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 } 205 }
206 throw new ArgumentError("Incorrect number or type of arguments"); 206 throw new ArgumentError("Incorrect number or type of arguments");
207 } 207 }
208 208
209 Transaction _transaction_1(storeName_OR_storeNames, mode) native "IDBDatabase_ _transaction_1_Callback"; 209 Transaction _transaction_1(storeName_OR_storeNames, mode) native "IDBDatabase_ _transaction_1_Callback";
210 210
211 Transaction _transaction_2(storeName_OR_storeNames, mode) native "IDBDatabase_ _transaction_2_Callback"; 211 Transaction _transaction_2(storeName_OR_storeNames, mode) native "IDBDatabase_ _transaction_2_Callback";
212 212
213 Transaction _transaction_3(storeName_OR_storeNames, mode) native "IDBDatabase_ _transaction_3_Callback"; 213 Transaction _transaction_3(storeName_OR_storeNames, mode) native "IDBDatabase_ _transaction_3_Callback";
214 214
215 @DomName('IDBDatabase.transactionList')
216 @DocsEditable()
217 Transaction transactionList(List<String> storeNames, String mode) native "IDBD atabase_transactionList_Callback";
218
219 @DomName('IDBDatabase.transactionStore')
220 @DocsEditable()
221 Transaction transactionStore(String storeName, String mode) native "IDBDatabas e_transactionStore_Callback";
222
223 @DomName('IDBDatabase.transactionStores')
224 @DocsEditable()
225 Transaction transactionStores(List<String> storeNames, String mode) native "ID BDatabase_transactionStores_Callback";
226
215 @DomName('IDBDatabase.onabort') 227 @DomName('IDBDatabase.onabort')
216 @DocsEditable() 228 @DocsEditable()
217 Stream<Event> get onAbort => abortEvent.forTarget(this); 229 Stream<Event> get onAbort => abortEvent.forTarget(this);
218 230
219 @DomName('IDBDatabase.onerror') 231 @DomName('IDBDatabase.onerror')
220 @DocsEditable() 232 @DocsEditable()
221 Stream<Event> get onError => errorEvent.forTarget(this); 233 Stream<Event> get onError => errorEvent.forTarget(this);
222 234
223 @DomName('IDBDatabase.onversionchange') 235 @DomName('IDBDatabase.onversionchange')
224 @DocsEditable() 236 @DocsEditable()
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 1138
1127 // WARNING: Do not edit - generated code. 1139 // WARNING: Do not edit - generated code.
1128 1140
1129 1141
1130 @DocsEditable() 1142 @DocsEditable()
1131 @DomName('IDBAny') 1143 @DomName('IDBAny')
1132 @deprecated // nonstandard 1144 @deprecated // nonstandard
1133 abstract class _IDBAny extends NativeFieldWrapperClass1 { 1145 abstract class _IDBAny extends NativeFieldWrapperClass1 {
1134 1146
1135 } 1147 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698