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

Side by Side Diff: sdk/lib/_blink/dartium/_blink_dartium.dart

Issue 368433004: Fix overloading for IDBDatabase transaction (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « no previous file | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * This library provides entry points to the native Blink code which backs 2 * This library provides entry points to the native Blink code which backs
3 * up the dart:html library. 3 * up the dart:html library.
4 */ 4 */
5 library dart.dom._blink; 5 library dart.dom._blink;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:html'; 9 import 'dart:html';
10 import 'dart:_internal' hide Symbol, deprecated; 10 import 'dart:_internal' hide Symbol, deprecated;
(...skipping 4066 matching lines...) Expand 10 before | Expand all | Expand 10 after
4077 static $version_Getter(mthis) native "IDBDatabase_version_Getter"; 4077 static $version_Getter(mthis) native "IDBDatabase_version_Getter";
4078 4078
4079 static $close_Callback(mthis) native "IDBDatabase_close_Callback_RESOLVER_STRI NG_0_"; 4079 static $close_Callback(mthis) native "IDBDatabase_close_Callback_RESOLVER_STRI NG_0_";
4080 4080
4081 static $createObjectStore_Callback(mthis, name, options) native "IDBDatabase_c reateObjectStore_Callback_RESOLVER_STRING_2_DOMString_Dictionary"; 4081 static $createObjectStore_Callback(mthis, name, options) native "IDBDatabase_c reateObjectStore_Callback_RESOLVER_STRING_2_DOMString_Dictionary";
4082 4082
4083 static $deleteObjectStore_Callback(mthis, name) native "IDBDatabase_deleteObje ctStore_Callback_RESOLVER_STRING_1_DOMString"; 4083 static $deleteObjectStore_Callback(mthis, name) native "IDBDatabase_deleteObje ctStore_Callback_RESOLVER_STRING_1_DOMString";
4084 4084
4085 // Generated overload resolver 4085 // Generated overload resolver
4086 static $transaction(mthis, storeName_OR_storeNames, mode) { 4086 static $transaction(mthis, storeName_OR_storeNames, mode) {
4087 if ((mode is String || mode == null) && (storeName_OR_storeNames is List<Str ing> || storeName_OR_storeNames == null)) { 4087 if ((mode is String || mode == null) && (storeName_OR_storeNames is DomStrin gList || storeName_OR_storeNames == null)) {
4088 return $_transaction_1_Callback(mthis, storeName_OR_storeNames, mode); 4088 return $_transaction_1_Callback(mthis, storeName_OR_storeNames, mode);
4089 } 4089 }
4090 if ((mode is String || mode == null) && (storeName_OR_storeNames is List<Str ing> || storeName_OR_storeNames == null)) { 4090 if ((mode is String || mode == null) && (storeName_OR_storeNames is List<Str ing> || storeName_OR_storeNames == null)) {
4091 return $_transaction_2_Callback(mthis, storeName_OR_storeNames, mode); 4091 return $_transaction_2_Callback(mthis, storeName_OR_storeNames, mode);
4092 } 4092 }
4093 if ((mode is String || mode == null) && (storeName_OR_storeNames is String | | storeName_OR_storeNames == null)) { 4093 if ((mode is String || mode == null) && (storeName_OR_storeNames is String | | storeName_OR_storeNames == null)) {
4094 return $_transaction_3_Callback(mthis, storeName_OR_storeNames, mode); 4094 return $_transaction_3_Callback(mthis, storeName_OR_storeNames, mode);
4095 } 4095 }
4096 throw new ArgumentError("Incorrect number or type of arguments"); 4096 throw new ArgumentError("Incorrect number or type of arguments");
4097 } 4097 }
(...skipping 5405 matching lines...) Expand 10 before | Expand all | Expand 10 after
9503 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba ck"; 9503 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba ck";
9504 9504
9505 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback"; 9505 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback";
9506 9506
9507 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac k"; 9507 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac k";
9508 9508
9509 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback"; 9509 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback";
9510 9510
9511 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback"; 9511 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback";
9512 } 9512 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698