| 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 library dart.dom.indexed_db; | 9 library dart.dom.indexed_db; |
| 10 | 10 |
| 11 import 'dart:async'; | 11 import 'dart:async'; |
| 12 import 'dart:html'; | 12 import 'dart:html'; |
| 13 import 'dart:html_common'; | 13 import 'dart:html_common'; |
| 14 import 'dart:typed_data'; | 14 import 'dart:typed_data'; |
| 15 import 'dart:_js_helper' show Creates, Returns, JSName, Null; | 15 import 'dart:_js_helper' show Creates, Returns, JSName, Null; |
| 16 import 'dart:_foreign_helper' show JS; | 16 import 'dart:_foreign_helper' show JS; |
| 17 import 'dart:_interceptors' show JSExtendableArray; | 17 import 'dart:_interceptors' show Interceptor, JSExtendableArray; |
| 18 | 18 |
| 19 $!GENERATED_DART_FILES | 19 $!GENERATED_DART_FILES |
| 20 | 20 |
| 21 class _KeyRangeFactoryProvider { | 21 class _KeyRangeFactoryProvider { |
| 22 | 22 |
| 23 static KeyRange createKeyRange_only(/*Key*/ value) => | 23 static KeyRange createKeyRange_only(/*Key*/ value) => |
| 24 _only(_class(), _translateKey(value)); | 24 _only(_class(), _translateKey(value)); |
| 25 | 25 |
| 26 static KeyRange createKeyRange_lowerBound( | 26 static KeyRange createKeyRange_lowerBound( |
| 27 /*Key*/ bound, [bool open = false]) => | 27 /*Key*/ bound, [bool open = false]) => |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 /// May modify original. If so, action is idempotent. | 126 /// May modify original. If so, action is idempotent. |
| 127 _convertNativeToDart_IDBAny(object) { | 127 _convertNativeToDart_IDBAny(object) { |
| 128 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); | 128 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); |
| 129 } | 129 } |
| 130 | 130 |
| 131 // TODO(sra): Add DateTime. | 131 // TODO(sra): Add DateTime. |
| 132 const String _idbKey = 'JSExtendableArray|=Object|num|String'; | 132 const String _idbKey = 'JSExtendableArray|=Object|num|String'; |
| 133 const _annotation_Creates_IDBKey = const Creates(_idbKey); | 133 const _annotation_Creates_IDBKey = const Creates(_idbKey); |
| 134 const _annotation_Returns_IDBKey = const Returns(_idbKey); | 134 const _annotation_Returns_IDBKey = const Returns(_idbKey); |
| OLD | NEW |