Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Side by Side Diff: tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate

Issue 14367012: Move to new dart:typeddata types for dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revert generated files for html lib Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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:typeddata';
14 import 'dart:_js_helper' show Creates, Returns, JSName, Null; 15 import 'dart:_js_helper' show Creates, Returns, JSName, Null;
15 import 'dart:_foreign_helper' show JS; 16 import 'dart:_foreign_helper' show JS;
16 17
17 $!GENERATED_DART_FILES 18 $!GENERATED_DART_FILES
18 19
19 class _KeyRangeFactoryProvider { 20 class _KeyRangeFactoryProvider {
20 21
21 static KeyRange createKeyRange_only(/*Key*/ value) => 22 static KeyRange createKeyRange_only(/*Key*/ value) =>
22 _only(_class(), _translateKey(value)); 23 _only(_class(), _translateKey(value));
23 24
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 124
124 /// May modify original. If so, action is idempotent. 125 /// May modify original. If so, action is idempotent.
125 _convertNativeToDart_IDBAny(object) { 126 _convertNativeToDart_IDBAny(object) {
126 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); 127 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false);
127 } 128 }
128 129
129 130
130 const String _idbKey = '=List|=Object|num|String'; // TODO(sra): Add DateTime. 131 const String _idbKey = '=List|=Object|num|String'; // TODO(sra): Add DateTime.
131 const _annotation_Creates_IDBKey = const Creates(_idbKey); 132 const _annotation_Creates_IDBKey = const Creates(_idbKey);
132 const _annotation_Returns_IDBKey = const Returns(_idbKey); 133 const _annotation_Returns_IDBKey = const Returns(_idbKey);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698