| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // DO NOT EDIT - unless you are editing documentation as per: | 5 // DO NOT EDIT - unless you are editing documentation as per: |
| 6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| 7 // Auto-generated dart:svg library. | 7 // Auto-generated dart:svg library. |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * A client-side key-value store with support for indexes. | 10 * A client-side key-value store with support for indexes. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 * [IndexedDB reference](http://docs.webplatform.org/wiki/apis/indexeddb) | 78 * [IndexedDB reference](http://docs.webplatform.org/wiki/apis/indexeddb) |
| 79 * provides wiki-style docs about indexedDB | 79 * provides wiki-style docs about indexedDB |
| 80 */ | 80 */ |
| 81 library dart.dom.indexed_db; | 81 library dart.dom.indexed_db; |
| 82 | 82 |
| 83 import 'dart:async'; | 83 import 'dart:async'; |
| 84 import 'dart:html'; | 84 import 'dart:html'; |
| 85 import 'dart:html_common'; | 85 import 'dart:html_common'; |
| 86 import 'dart:_native_typed_data'; | 86 import 'dart:_native_typed_data'; |
| 87 import 'dart:typed_data'; | 87 import 'dart:typed_data'; |
| 88 import 'dart:_js_helper' show Creates, Returns, JSName, Null; | 88 import 'dart:_js_helper' show Creates, Returns, JSName, Native, Null; |
| 89 import 'dart:_foreign_helper' show JS; | 89 import 'dart:_foreign_helper' show JS; |
| 90 import 'dart:_interceptors' show Interceptor, JSExtendableArray; | 90 import 'dart:_interceptors' show Interceptor, JSExtendableArray; |
| 91 | 91 |
| 92 $!GENERATED_DART_FILES | 92 $!GENERATED_DART_FILES |
| 93 | 93 |
| 94 class _KeyRangeFactoryProvider { | 94 class _KeyRangeFactoryProvider { |
| 95 | 95 |
| 96 static KeyRange createKeyRange_only(/*Key*/ value) => | 96 static KeyRange createKeyRange_only(/*Key*/ value) => |
| 97 _only(_class(), _translateKey(value)); | 97 _only(_class(), _translateKey(value)); |
| 98 | 98 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 198 |
| 199 /// May modify original. If so, action is idempotent. | 199 /// May modify original. If so, action is idempotent. |
| 200 _convertNativeToDart_IDBAny(object) { | 200 _convertNativeToDart_IDBAny(object) { |
| 201 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); | 201 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); |
| 202 } | 202 } |
| 203 | 203 |
| 204 // TODO(sra): Add DateTime. | 204 // TODO(sra): Add DateTime. |
| 205 const String _idbKey = 'JSExtendableArray|=Object|num|String'; | 205 const String _idbKey = 'JSExtendableArray|=Object|num|String'; |
| 206 const _annotation_Creates_IDBKey = const Creates(_idbKey); | 206 const _annotation_Creates_IDBKey = const Creates(_idbKey); |
| 207 const _annotation_Returns_IDBKey = const Returns(_idbKey); | 207 const _annotation_Returns_IDBKey = const Returns(_idbKey); |
| OLD | NEW |