| OLD | NEW |
| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 Transaction transactionList(List<String> storeNames, String mode) native "IDBD
atabase_transactionList_Callback"; | 211 Transaction transactionList(List<String> storeNames, String mode) native "IDBD
atabase_transactionList_Callback"; |
| 212 | 212 |
| 213 @DomName('IDBDatabase.transactionStore') | 213 @DomName('IDBDatabase.transactionStore') |
| 214 @DocsEditable() | 214 @DocsEditable() |
| 215 Transaction transactionStore(String storeName, String mode) native "IDBDatabas
e_transactionStore_Callback"; | 215 Transaction transactionStore(String storeName, String mode) native "IDBDatabas
e_transactionStore_Callback"; |
| 216 | 216 |
| 217 @DomName('IDBDatabase.transactionStores') | 217 @DomName('IDBDatabase.transactionStores') |
| 218 @DocsEditable() | 218 @DocsEditable() |
| 219 Transaction transactionStores(List<String> storeNames, String mode) native "ID
BDatabase_transactionStores_Callback"; | 219 Transaction transactionStores(List<String> storeNames, String mode) native "ID
BDatabase_transactionStores_Callback"; |
| 220 | 220 |
| 221 @DomName('IDBDatabase.addEventListener') |
| 222 @DocsEditable() |
| 223 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "IDBDatabase_addEventListener_Callback"; |
| 224 |
| 225 @DomName('IDBDatabase.dispatchEvent') |
| 226 @DocsEditable() |
| 227 bool dispatchEvent(Event event) native "IDBDatabase_dispatchEvent_Callback"; |
| 228 |
| 229 @DomName('IDBDatabase.removeEventListener') |
| 230 @DocsEditable() |
| 231 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native "IDBDatabase_removeEventListener_Callback"; |
| 232 |
| 221 @DomName('IDBDatabase.onabort') | 233 @DomName('IDBDatabase.onabort') |
| 222 @DocsEditable() | 234 @DocsEditable() |
| 223 Stream<Event> get onAbort => abortEvent.forTarget(this); | 235 Stream<Event> get onAbort => abortEvent.forTarget(this); |
| 224 | 236 |
| 225 @DomName('IDBDatabase.onclose') | 237 @DomName('IDBDatabase.onclose') |
| 226 @DocsEditable() | 238 @DocsEditable() |
| 227 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22540 | 239 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22540 |
| 228 @Experimental() | 240 @Experimental() |
| 229 Stream<Event> get onClose => closeEvent.forTarget(this); | 241 Stream<Event> get onClose => closeEvent.forTarget(this); |
| 230 | 242 |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 dynamic get result native "IDBRequest_result_Getter"; | 985 dynamic get result native "IDBRequest_result_Getter"; |
| 974 | 986 |
| 975 @DomName('IDBRequest.source') | 987 @DomName('IDBRequest.source') |
| 976 @DocsEditable() | 988 @DocsEditable() |
| 977 dynamic get source native "IDBRequest_source_Getter"; | 989 dynamic get source native "IDBRequest_source_Getter"; |
| 978 | 990 |
| 979 @DomName('IDBRequest.transaction') | 991 @DomName('IDBRequest.transaction') |
| 980 @DocsEditable() | 992 @DocsEditable() |
| 981 Transaction get transaction native "IDBRequest_transaction_Getter"; | 993 Transaction get transaction native "IDBRequest_transaction_Getter"; |
| 982 | 994 |
| 995 @DomName('IDBRequest.addEventListener') |
| 996 @DocsEditable() |
| 997 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "IDBRequest_addEventListener_Callback"; |
| 998 |
| 999 @DomName('IDBRequest.dispatchEvent') |
| 1000 @DocsEditable() |
| 1001 bool dispatchEvent(Event event) native "IDBRequest_dispatchEvent_Callback"; |
| 1002 |
| 1003 @DomName('IDBRequest.removeEventListener') |
| 1004 @DocsEditable() |
| 1005 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native "IDBRequest_removeEventListener_Callback"; |
| 1006 |
| 983 @DomName('IDBRequest.onerror') | 1007 @DomName('IDBRequest.onerror') |
| 984 @DocsEditable() | 1008 @DocsEditable() |
| 985 Stream<Event> get onError => errorEvent.forTarget(this); | 1009 Stream<Event> get onError => errorEvent.forTarget(this); |
| 986 | 1010 |
| 987 @DomName('IDBRequest.onsuccess') | 1011 @DomName('IDBRequest.onsuccess') |
| 988 @DocsEditable() | 1012 @DocsEditable() |
| 989 Stream<Event> get onSuccess => successEvent.forTarget(this); | 1013 Stream<Event> get onSuccess => successEvent.forTarget(this); |
| 990 | 1014 |
| 991 } | 1015 } |
| 992 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1016 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1051 String get mode native "IDBTransaction_mode_Getter"; | 1075 String get mode native "IDBTransaction_mode_Getter"; |
| 1052 | 1076 |
| 1053 @DomName('IDBTransaction.abort') | 1077 @DomName('IDBTransaction.abort') |
| 1054 @DocsEditable() | 1078 @DocsEditable() |
| 1055 void abort() native "IDBTransaction_abort_Callback"; | 1079 void abort() native "IDBTransaction_abort_Callback"; |
| 1056 | 1080 |
| 1057 @DomName('IDBTransaction.objectStore') | 1081 @DomName('IDBTransaction.objectStore') |
| 1058 @DocsEditable() | 1082 @DocsEditable() |
| 1059 ObjectStore objectStore(String name) native "IDBTransaction_objectStore_Callba
ck"; | 1083 ObjectStore objectStore(String name) native "IDBTransaction_objectStore_Callba
ck"; |
| 1060 | 1084 |
| 1085 @DomName('IDBTransaction.addEventListener') |
| 1086 @DocsEditable() |
| 1087 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "IDBTransaction_addEventListener_Callback"; |
| 1088 |
| 1089 @DomName('IDBTransaction.dispatchEvent') |
| 1090 @DocsEditable() |
| 1091 bool dispatchEvent(Event event) native "IDBTransaction_dispatchEvent_Callback"
; |
| 1092 |
| 1093 @DomName('IDBTransaction.removeEventListener') |
| 1094 @DocsEditable() |
| 1095 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native "IDBTransaction_removeEventListener_Callback"; |
| 1096 |
| 1061 @DomName('IDBTransaction.onabort') | 1097 @DomName('IDBTransaction.onabort') |
| 1062 @DocsEditable() | 1098 @DocsEditable() |
| 1063 Stream<Event> get onAbort => abortEvent.forTarget(this); | 1099 Stream<Event> get onAbort => abortEvent.forTarget(this); |
| 1064 | 1100 |
| 1065 @DomName('IDBTransaction.oncomplete') | 1101 @DomName('IDBTransaction.oncomplete') |
| 1066 @DocsEditable() | 1102 @DocsEditable() |
| 1067 Stream<Event> get onComplete => completeEvent.forTarget(this); | 1103 Stream<Event> get onComplete => completeEvent.forTarget(this); |
| 1068 | 1104 |
| 1069 @DomName('IDBTransaction.onerror') | 1105 @DomName('IDBTransaction.onerror') |
| 1070 @DocsEditable() | 1106 @DocsEditable() |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 | 1141 |
| 1106 // WARNING: Do not edit - generated code. | 1142 // WARNING: Do not edit - generated code. |
| 1107 | 1143 |
| 1108 | 1144 |
| 1109 @DocsEditable() | 1145 @DocsEditable() |
| 1110 @DomName('IDBAny') | 1146 @DomName('IDBAny') |
| 1111 @deprecated // nonstandard | 1147 @deprecated // nonstandard |
| 1112 abstract class _IDBAny extends NativeFieldWrapperClass1 { | 1148 abstract class _IDBAny extends NativeFieldWrapperClass1 { |
| 1113 | 1149 |
| 1114 } | 1150 } |
| OLD | NEW |