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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 Request _get(Object key) native "IDBObjectStore_get_Callback"; | 816 Request _get(Object key) native "IDBObjectStore_get_Callback"; |
817 | 817 |
818 @DomName('IDBObjectStore.index') | 818 @DomName('IDBObjectStore.index') |
819 @DocsEditable() | 819 @DocsEditable() |
820 Index index(String name) native "IDBObjectStore_index_Callback"; | 820 Index index(String name) native "IDBObjectStore_index_Callback"; |
821 | 821 |
822 @DomName('IDBObjectStore.openCursor') | 822 @DomName('IDBObjectStore.openCursor') |
823 @DocsEditable() | 823 @DocsEditable() |
824 Request _openCursor(Object key, [String direction]) native "IDBObjectStore_ope
nCursor_Callback"; | 824 Request _openCursor(Object key, [String direction]) native "IDBObjectStore_ope
nCursor_Callback"; |
825 | 825 |
| 826 @DomName('IDBObjectStore.openKeyCursor') |
| 827 @DocsEditable() |
| 828 @Experimental() // untriaged |
| 829 Request openKeyCursor(Object range, String direction) native "IDBObjectStore_o
penKeyCursor_Callback"; |
| 830 |
826 @DomName('IDBObjectStore.put') | 831 @DomName('IDBObjectStore.put') |
827 @DocsEditable() | 832 @DocsEditable() |
828 Request _put(Object value, [Object key]) native "IDBObjectStore_put_Callback"; | 833 Request _put(Object value, [Object key]) native "IDBObjectStore_put_Callback"; |
829 | 834 |
830 | 835 |
831 /** | 836 /** |
832 * Helper for iterating over cursors in a request. | 837 * Helper for iterating over cursors in a request. |
833 */ | 838 */ |
834 static Stream<Cursor> _cursorStreamFromResult(Request request, | 839 static Stream<Cursor> _cursorStreamFromResult(Request request, |
835 bool autoAdvance) { | 840 bool autoAdvance) { |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1107 @Unstable() | 1112 @Unstable() |
1108 class VersionChangeEvent extends Event { | 1113 class VersionChangeEvent extends Event { |
1109 // To suppress missing implicit constructor warnings. | 1114 // To suppress missing implicit constructor warnings. |
1110 factory VersionChangeEvent._() { throw new UnsupportedError("Not supported");
} | 1115 factory VersionChangeEvent._() { throw new UnsupportedError("Not supported");
} |
1111 | 1116 |
1112 @DomName('IDBVersionChangeEvent.dataLoss') | 1117 @DomName('IDBVersionChangeEvent.dataLoss') |
1113 @DocsEditable() | 1118 @DocsEditable() |
1114 @Experimental() // untriaged | 1119 @Experimental() // untriaged |
1115 String get dataLoss native "IDBVersionChangeEvent_dataLoss_Getter"; | 1120 String get dataLoss native "IDBVersionChangeEvent_dataLoss_Getter"; |
1116 | 1121 |
| 1122 @DomName('IDBVersionChangeEvent.dataLossMessage') |
| 1123 @DocsEditable() |
| 1124 @Experimental() // untriaged |
| 1125 String get dataLossMessage native "IDBVersionChangeEvent_dataLossMessage_Gette
r"; |
| 1126 |
1117 @DomName('IDBVersionChangeEvent.newVersion') | 1127 @DomName('IDBVersionChangeEvent.newVersion') |
1118 @DocsEditable() | 1128 @DocsEditable() |
1119 dynamic get newVersion native "IDBVersionChangeEvent_newVersion_Getter"; | 1129 dynamic get newVersion native "IDBVersionChangeEvent_newVersion_Getter"; |
1120 | 1130 |
1121 @DomName('IDBVersionChangeEvent.oldVersion') | 1131 @DomName('IDBVersionChangeEvent.oldVersion') |
1122 @DocsEditable() | 1132 @DocsEditable() |
1123 dynamic get oldVersion native "IDBVersionChangeEvent_oldVersion_Getter"; | 1133 dynamic get oldVersion native "IDBVersionChangeEvent_oldVersion_Getter"; |
1124 | 1134 |
1125 } | 1135 } |
1126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1136 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1127 // for details. All rights reserved. Use of this source code is governed by a | 1137 // for details. All rights reserved. Use of this source code is governed by a |
1128 // BSD-style license that can be found in the LICENSE file. | 1138 // BSD-style license that can be found in the LICENSE file. |
1129 | 1139 |
1130 // WARNING: Do not edit - generated code. | 1140 // WARNING: Do not edit - generated code. |
1131 | 1141 |
1132 | 1142 |
1133 @DocsEditable() | 1143 @DocsEditable() |
1134 @DomName('IDBAny') | 1144 @DomName('IDBAny') |
1135 @deprecated // nonstandard | 1145 @deprecated // nonstandard |
1136 abstract class _IDBAny extends NativeFieldWrapperClass2 { | 1146 abstract class _IDBAny extends NativeFieldWrapperClass2 { |
1137 // To suppress missing implicit constructor warnings. | 1147 // To suppress missing implicit constructor warnings. |
1138 factory _IDBAny._() { throw new UnsupportedError("Not supported"); } | 1148 factory _IDBAny._() { throw new UnsupportedError("Not supported"); } |
1139 | 1149 |
1140 } | 1150 } |
OLD | NEW |