| 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: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 JSExtendableArray; |
| 9 // 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 |
| 10 // for details. All rights reserved. Use of this source code is governed by a | 11 // for details. All rights reserved. Use of this source code is governed by a |
| 11 // BSD-style license that can be found in the LICENSE file. | 12 // BSD-style license that can be found in the LICENSE file. |
| 12 | 13 |
| 13 // DO NOT EDIT - unless you are editing documentation as per: | 14 // DO NOT EDIT - unless you are editing documentation as per: |
| 14 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 15 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| 15 // Auto-generated dart:svg library. | 16 // Auto-generated dart:svg library. |
| 16 | 17 |
| 17 | 18 |
| 18 | 19 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 return dartKey; | 122 return dartKey; |
| 122 } | 123 } |
| 123 | 124 |
| 124 | 125 |
| 125 | 126 |
| 126 /// May modify original. If so, action is idempotent. | 127 /// May modify original. If so, action is idempotent. |
| 127 _convertNativeToDart_IDBAny(object) { | 128 _convertNativeToDart_IDBAny(object) { |
| 128 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); | 129 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); |
| 129 } | 130 } |
| 130 | 131 |
| 131 | 132 // TODO(sra): Add DateTime. |
| 132 const String _idbKey = '=List|=Object|num|String'; // TODO(sra): Add DateTime. | 133 const String _idbKey = 'JSExtendableArray|=Object|num|String'; |
| 133 const _annotation_Creates_IDBKey = const Creates(_idbKey); | 134 const _annotation_Creates_IDBKey = const Creates(_idbKey); |
| 134 const _annotation_Returns_IDBKey = const Returns(_idbKey); | 135 const _annotation_Returns_IDBKey = const Returns(_idbKey); |
| 135 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 136 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 136 // for details. All rights reserved. Use of this source code is governed by a | 137 // for details. All rights reserved. Use of this source code is governed by a |
| 137 // BSD-style license that can be found in the LICENSE file. | 138 // BSD-style license that can be found in the LICENSE file. |
| 138 | 139 |
| 139 | 140 |
| 140 @DomName('IDBCursor') | 141 @DomName('IDBCursor') |
| 141 @Unstable | 142 @Unstable |
| 142 class Cursor native "IDBCursor" { | 143 class Cursor native "IDBCursor" { |
| (...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1272 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1273 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1273 // for details. All rights reserved. Use of this source code is governed by a | 1274 // for details. All rights reserved. Use of this source code is governed by a |
| 1274 // BSD-style license that can be found in the LICENSE file. | 1275 // BSD-style license that can be found in the LICENSE file. |
| 1275 | 1276 |
| 1276 | 1277 |
| 1277 @DocsEditable | 1278 @DocsEditable |
| 1278 @DomName('IDBAny') | 1279 @DomName('IDBAny') |
| 1279 @deprecated // nonstandard | 1280 @deprecated // nonstandard |
| 1280 abstract class _IDBAny native "IDBAny" { | 1281 abstract class _IDBAny native "IDBAny" { |
| 1281 } | 1282 } |
| OLD | NEW |