| 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 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 dynamic get result native "IDBRequest_result_Getter"; | 973 dynamic get result native "IDBRequest_result_Getter"; |
| 974 | 974 |
| 975 @DomName('IDBRequest.source') | 975 @DomName('IDBRequest.source') |
| 976 @DocsEditable() | 976 @DocsEditable() |
| 977 dynamic get source native "IDBRequest_source_Getter"; | 977 dynamic get source native "IDBRequest_source_Getter"; |
| 978 | 978 |
| 979 @DomName('IDBRequest.transaction') | 979 @DomName('IDBRequest.transaction') |
| 980 @DocsEditable() | 980 @DocsEditable() |
| 981 Transaction get transaction native "IDBRequest_transaction_Getter"; | 981 Transaction get transaction native "IDBRequest_transaction_Getter"; |
| 982 | 982 |
| 983 @DomName('IDBRequest.webkitErrorMessage') | |
| 984 @DocsEditable() | |
| 985 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 986 @SupportedBrowser(SupportedBrowser.SAFARI) | |
| 987 @Experimental() | |
| 988 String get errorMessage native "IDBRequest_webkitErrorMessage_Getter"; | |
| 989 | |
| 990 @DomName('IDBRequest.addEventListener') | 983 @DomName('IDBRequest.addEventListener') |
| 991 @DocsEditable() | 984 @DocsEditable() |
| 992 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "IDBRequest_addEventListener_Callback"; | 985 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "IDBRequest_addEventListener_Callback"; |
| 993 | 986 |
| 994 @DomName('IDBRequest.dispatchEvent') | 987 @DomName('IDBRequest.dispatchEvent') |
| 995 @DocsEditable() | 988 @DocsEditable() |
| 996 bool dispatchEvent(Event evt) native "IDBRequest_dispatchEvent_Callback"; | 989 bool dispatchEvent(Event evt) native "IDBRequest_dispatchEvent_Callback"; |
| 997 | 990 |
| 998 @DomName('IDBRequest.removeEventListener') | 991 @DomName('IDBRequest.removeEventListener') |
| 999 @DocsEditable() | 992 @DocsEditable() |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 Database get db native "IDBTransaction_db_Getter"; | 1055 Database get db native "IDBTransaction_db_Getter"; |
| 1063 | 1056 |
| 1064 @DomName('IDBTransaction.error') | 1057 @DomName('IDBTransaction.error') |
| 1065 @DocsEditable() | 1058 @DocsEditable() |
| 1066 DomError get error native "IDBTransaction_error_Getter"; | 1059 DomError get error native "IDBTransaction_error_Getter"; |
| 1067 | 1060 |
| 1068 @DomName('IDBTransaction.mode') | 1061 @DomName('IDBTransaction.mode') |
| 1069 @DocsEditable() | 1062 @DocsEditable() |
| 1070 String get mode native "IDBTransaction_mode_Getter"; | 1063 String get mode native "IDBTransaction_mode_Getter"; |
| 1071 | 1064 |
| 1072 @DomName('IDBTransaction.webkitErrorMessage') | |
| 1073 @DocsEditable() | |
| 1074 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 1075 @SupportedBrowser(SupportedBrowser.SAFARI) | |
| 1076 @Experimental() | |
| 1077 String get errorMessage native "IDBTransaction_webkitErrorMessage_Getter"; | |
| 1078 | |
| 1079 @DomName('IDBTransaction.abort') | 1065 @DomName('IDBTransaction.abort') |
| 1080 @DocsEditable() | 1066 @DocsEditable() |
| 1081 void abort() native "IDBTransaction_abort_Callback"; | 1067 void abort() native "IDBTransaction_abort_Callback"; |
| 1082 | 1068 |
| 1083 @DomName('IDBTransaction.addEventListener') | 1069 @DomName('IDBTransaction.addEventListener') |
| 1084 @DocsEditable() | 1070 @DocsEditable() |
| 1085 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "IDBTransaction_addEventListener_Callback"; | 1071 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "IDBTransaction_addEventListener_Callback"; |
| 1086 | 1072 |
| 1087 @DomName('IDBTransaction.dispatchEvent') | 1073 @DomName('IDBTransaction.dispatchEvent') |
| 1088 @DocsEditable() | 1074 @DocsEditable() |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1116 // WARNING: Do not edit - generated code. | 1102 // WARNING: Do not edit - generated code. |
| 1117 | 1103 |
| 1118 | 1104 |
| 1119 @DocsEditable() | 1105 @DocsEditable() |
| 1120 @DomName('IDBVersionChangeEvent') | 1106 @DomName('IDBVersionChangeEvent') |
| 1121 @Unstable() | 1107 @Unstable() |
| 1122 class VersionChangeEvent extends Event { | 1108 class VersionChangeEvent extends Event { |
| 1123 // To suppress missing implicit constructor warnings. | 1109 // To suppress missing implicit constructor warnings. |
| 1124 factory VersionChangeEvent._() { throw new UnsupportedError("Not supported");
} | 1110 factory VersionChangeEvent._() { throw new UnsupportedError("Not supported");
} |
| 1125 | 1111 |
| 1112 @DomName('IDBVersionChangeEvent.dataLoss') |
| 1113 @DocsEditable() |
| 1114 @Experimental() // untriaged |
| 1115 String get dataLoss native "IDBVersionChangeEvent_dataLoss_Getter"; |
| 1116 |
| 1126 @DomName('IDBVersionChangeEvent.newVersion') | 1117 @DomName('IDBVersionChangeEvent.newVersion') |
| 1127 @DocsEditable() | 1118 @DocsEditable() |
| 1128 dynamic get newVersion native "IDBVersionChangeEvent_newVersion_Getter"; | 1119 dynamic get newVersion native "IDBVersionChangeEvent_newVersion_Getter"; |
| 1129 | 1120 |
| 1130 @DomName('IDBVersionChangeEvent.oldVersion') | 1121 @DomName('IDBVersionChangeEvent.oldVersion') |
| 1131 @DocsEditable() | 1122 @DocsEditable() |
| 1132 dynamic get oldVersion native "IDBVersionChangeEvent_oldVersion_Getter"; | 1123 dynamic get oldVersion native "IDBVersionChangeEvent_oldVersion_Getter"; |
| 1133 | 1124 |
| 1134 } | 1125 } |
| 1135 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1136 // for details. All rights reserved. Use of this source code is governed by a | 1127 // for details. All rights reserved. Use of this source code is governed by a |
| 1137 // BSD-style license that can be found in the LICENSE file. | 1128 // BSD-style license that can be found in the LICENSE file. |
| 1138 | 1129 |
| 1139 // WARNING: Do not edit - generated code. | 1130 // WARNING: Do not edit - generated code. |
| 1140 | 1131 |
| 1141 | 1132 |
| 1142 @DocsEditable() | 1133 @DocsEditable() |
| 1143 @DomName('IDBAny') | 1134 @DomName('IDBAny') |
| 1144 @deprecated // nonstandard | 1135 @deprecated // nonstandard |
| 1145 abstract class _IDBAny extends NativeFieldWrapperClass1 { | 1136 abstract class _IDBAny extends NativeFieldWrapperClass1 { |
| 1146 | 1137 |
| 1147 } | 1138 } |
| OLD | NEW |