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

Side by Side Diff: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart

Issue 22933003: Removing overloaded operations in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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:typed_data'; 6 import 'dart:typed_data';
7 import 'dart:_js_helper' show Creates, Returns, JSName, Null; 7 import 'dart:_js_helper' show Creates, Returns, JSName, Null;
8 import 'dart:_foreign_helper' show JS; 8 import 'dart:_foreign_helper' show JS;
9 import 'dart:_interceptors' show Interceptor, JSExtendableArray; 9 import 'dart:_interceptors' show Interceptor, JSExtendableArray;
10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 ObjectStore _$dom_createObjectStore_1(name, options) native; 354 ObjectStore _$dom_createObjectStore_1(name, options) native;
355 @JSName('createObjectStore') 355 @JSName('createObjectStore')
356 @DomName('IDBDatabase.createObjectStore') 356 @DomName('IDBDatabase.createObjectStore')
357 @DocsEditable() 357 @DocsEditable()
358 ObjectStore _$dom_createObjectStore_2(name) native; 358 ObjectStore _$dom_createObjectStore_2(name) native;
359 359
360 @DomName('IDBDatabase.deleteObjectStore') 360 @DomName('IDBDatabase.deleteObjectStore')
361 @DocsEditable() 361 @DocsEditable()
362 void deleteObjectStore(String name) native; 362 void deleteObjectStore(String name) native;
363 363
364 // From EventTarget
365
366 @JSName('addEventListener')
367 @DomName('IDBDatabase.addEventListener')
368 @DocsEditable()
369 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
370
371 @DomName('IDBDatabase.dispatchEvent')
372 @DocsEditable()
373 bool dispatchEvent(Event event) native;
374
375 @JSName('removeEventListener')
376 @DomName('IDBDatabase.removeEventListener')
377 @DocsEditable()
378 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
379
380 @DomName('IDBDatabase.onabort') 364 @DomName('IDBDatabase.onabort')
381 @DocsEditable() 365 @DocsEditable()
382 Stream<Event> get onAbort => abortEvent.forTarget(this); 366 Stream<Event> get onAbort => abortEvent.forTarget(this);
383 367
384 @DomName('IDBDatabase.onclose') 368 @DomName('IDBDatabase.onclose')
385 @DocsEditable() 369 @DocsEditable()
386 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22540 370 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22540
387 @Experimental() 371 @Experimental()
388 Stream<Event> get onClose => closeEvent.forTarget(this); 372 Stream<Event> get onClose => closeEvent.forTarget(this);
389 373
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 1140
1157 @DomName('IDBRequest.source') 1141 @DomName('IDBRequest.source')
1158 @DocsEditable() 1142 @DocsEditable()
1159 @Creates('Null') 1143 @Creates('Null')
1160 final dynamic source; 1144 final dynamic source;
1161 1145
1162 @DomName('IDBRequest.transaction') 1146 @DomName('IDBRequest.transaction')
1163 @DocsEditable() 1147 @DocsEditable()
1164 final Transaction transaction; 1148 final Transaction transaction;
1165 1149
1166 // From EventTarget
1167
1168 @JSName('addEventListener')
1169 @DomName('IDBRequest.addEventListener')
1170 @DocsEditable()
1171 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
1172
1173 @DomName('IDBRequest.dispatchEvent')
1174 @DocsEditable()
1175 bool dispatchEvent(Event event) native;
1176
1177 @JSName('removeEventListener')
1178 @DomName('IDBRequest.removeEventListener')
1179 @DocsEditable()
1180 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
1181
1182 @DomName('IDBRequest.onerror') 1150 @DomName('IDBRequest.onerror')
1183 @DocsEditable() 1151 @DocsEditable()
1184 Stream<Event> get onError => errorEvent.forTarget(this); 1152 Stream<Event> get onError => errorEvent.forTarget(this);
1185 1153
1186 @DomName('IDBRequest.onsuccess') 1154 @DomName('IDBRequest.onsuccess')
1187 @DocsEditable() 1155 @DocsEditable()
1188 Stream<Event> get onSuccess => successEvent.forTarget(this); 1156 Stream<Event> get onSuccess => successEvent.forTarget(this);
1189 } 1157 }
1190 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1158 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
1191 // for details. All rights reserved. Use of this source code is governed by a 1159 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 final String mode; 1217 final String mode;
1250 1218
1251 @DomName('IDBTransaction.abort') 1219 @DomName('IDBTransaction.abort')
1252 @DocsEditable() 1220 @DocsEditable()
1253 void abort() native; 1221 void abort() native;
1254 1222
1255 @DomName('IDBTransaction.objectStore') 1223 @DomName('IDBTransaction.objectStore')
1256 @DocsEditable() 1224 @DocsEditable()
1257 ObjectStore objectStore(String name) native; 1225 ObjectStore objectStore(String name) native;
1258 1226
1259 // From EventTarget
1260
1261 @JSName('addEventListener')
1262 @DomName('IDBTransaction.addEventListener')
1263 @DocsEditable()
1264 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
1265
1266 @DomName('IDBTransaction.dispatchEvent')
1267 @DocsEditable()
1268 bool dispatchEvent(Event event) native;
1269
1270 @JSName('removeEventListener')
1271 @DomName('IDBTransaction.removeEventListener')
1272 @DocsEditable()
1273 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
1274
1275 @DomName('IDBTransaction.onabort') 1227 @DomName('IDBTransaction.onabort')
1276 @DocsEditable() 1228 @DocsEditable()
1277 Stream<Event> get onAbort => abortEvent.forTarget(this); 1229 Stream<Event> get onAbort => abortEvent.forTarget(this);
1278 1230
1279 @DomName('IDBTransaction.oncomplete') 1231 @DomName('IDBTransaction.oncomplete')
1280 @DocsEditable() 1232 @DocsEditable()
1281 Stream<Event> get onComplete => completeEvent.forTarget(this); 1233 Stream<Event> get onComplete => completeEvent.forTarget(this);
1282 1234
1283 @DomName('IDBTransaction.onerror') 1235 @DomName('IDBTransaction.onerror')
1284 @DocsEditable() 1236 @DocsEditable()
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1269 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1318 // for details. All rights reserved. Use of this source code is governed by a 1270 // for details. All rights reserved. Use of this source code is governed by a
1319 // BSD-style license that can be found in the LICENSE file. 1271 // BSD-style license that can be found in the LICENSE file.
1320 1272
1321 1273
1322 @DocsEditable() 1274 @DocsEditable()
1323 @DomName('IDBAny') 1275 @DomName('IDBAny')
1324 @deprecated // nonstandard 1276 @deprecated // nonstandard
1325 abstract class _IDBAny extends Interceptor native "IDBAny" { 1277 abstract class _IDBAny extends Interceptor native "IDBAny" {
1326 } 1278 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698