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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 * [Use IndexedDB](http://www.dartlang.org/docs/tutorials/indexeddb/). | 76 * [Use IndexedDB](http://www.dartlang.org/docs/tutorials/indexeddb/). |
77 * | 77 * |
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:typed_data'; |
87 import 'dart:_js_helper' show Creates, Returns, JSName, Null; | 87 import 'dart:_js_helper' show Creates, Returns, JSName, Null; |
88 import 'dart:_foreign_helper' show JS; | 88 import 'dart:_foreign_helper' show JS; |
89 import 'dart:_interceptors' show Interceptor, JSExtendableArray; | 89 import 'dart:_interceptors' show Interceptor, JSExtendableArray; |
90 | 90 |
91 $!GENERATED_DART_FILES | 91 $!GENERATED_DART_FILES |
92 | 92 |
93 class _KeyRangeFactoryProvider { | 93 class _KeyRangeFactoryProvider { |
94 | 94 |
95 static KeyRange createKeyRange_only(/*Key*/ value) => | 95 static KeyRange createKeyRange_only(/*Key*/ value) => |
96 _only(_class(), _translateKey(value)); | 96 _only(_class(), _translateKey(value)); |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 197 |
198 /// May modify original. If so, action is idempotent. | 198 /// May modify original. If so, action is idempotent. |
199 _convertNativeToDart_IDBAny(object) { | 199 _convertNativeToDart_IDBAny(object) { |
200 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); | 200 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); |
201 } | 201 } |
202 | 202 |
203 // TODO(sra): Add DateTime. | 203 // TODO(sra): Add DateTime. |
204 const String _idbKey = 'JSExtendableArray|=Object|num|String'; | 204 const String _idbKey = 'JSExtendableArray|=Object|num|String'; |
205 const _annotation_Creates_IDBKey = const Creates(_idbKey); | 205 const _annotation_Creates_IDBKey = const Creates(_idbKey); |
206 const _annotation_Returns_IDBKey = const Returns(_idbKey); | 206 const _annotation_Returns_IDBKey = const Returns(_idbKey); |
OLD | NEW |