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

Side by Side Diff: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart

Issue 15039023: Revert "dart2js native mixin application should extend 'Interface', not 'Object'" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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
« no previous file with comments | « sdk/lib/web_gl/dart2js/web_gl_dart2js.dart ('k') | tests/html/node_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * An API for storing data in the browser that can be queried with SQL. 2 * An API for storing data in the browser that can be queried with SQL.
3 * 3 *
4 * **Caution:** this specification is no longer actively maintained by the Web 4 * **Caution:** this specification is no longer actively maintained by the Web
5 * Applications Working Group and may be removed at any time. 5 * Applications Working Group and may be removed at any time.
6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase /) 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase /)
7 * for more information. 7 * for more information.
8 * 8 *
9 * The [dart:indexed_db] APIs is a recommended alternatives. 9 * The [dart:indexed_db] APIs is a recommended alternatives.
10 */ 10 */
11 library dart.dom.web_sql; 11 library dart.dom.web_sql;
12 12
13 import 'dart:async'; 13 import 'dart:async';
14 import 'dart:collection'; 14 import 'dart:collection';
15 import 'dart:_collection-dev'; 15 import 'dart:_collection-dev';
16 import 'dart:html'; 16 import 'dart:html';
17 import 'dart:html_common'; 17 import 'dart:html_common';
18 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin gBehavior, JSName; 18 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin gBehavior, JSName;
19 import 'dart:_foreign_helper' show JS; 19 import 'dart:_foreign_helper' show JS;
20 import 'dart:_interceptors' show Interceptor;
21 // DO NOT EDIT - unless you are editing documentation as per: 20 // DO NOT EDIT - unless you are editing documentation as per:
22 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 21 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
23 // Auto-generated dart:audio library. 22 // Auto-generated dart:audio library.
24 23
25 24
26 25
27 26
28 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 27 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29 // for details. All rights reserved. Use of this source code is governed by a 28 // for details. All rights reserved. Use of this source code is governed by a
30 // BSD-style license that can be found in the LICENSE file. 29 // BSD-style license that can be found in the LICENSE file.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 @DocsEditable 218 @DocsEditable
220 final int rowsAffected; 219 final int rowsAffected;
221 } 220 }
222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
223 // for details. All rights reserved. Use of this source code is governed by a 222 // for details. All rights reserved. Use of this source code is governed by a
224 // BSD-style license that can be found in the LICENSE file. 223 // BSD-style license that can be found in the LICENSE file.
225 224
226 225
227 @DocsEditable 226 @DocsEditable
228 @DomName('SQLResultSetRowList') 227 @DomName('SQLResultSetRowList')
229 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList Mixin<Map> implements JavaScriptIndexingBehavior, List<Map> native "SQLResultSet RowList" { 228 class SqlResultSetRowList extends Object with ListMixin<Map>, ImmutableListMixin <Map> implements JavaScriptIndexingBehavior, List<Map> native "SQLResultSetRowLi st" {
230 229
231 @DomName('SQLResultSetRowList.length') 230 @DomName('SQLResultSetRowList.length')
232 @DocsEditable 231 @DocsEditable
233 int get length => JS("int", "#.length", this); 232 int get length => JS("int", "#.length", this);
234 233
235 Map operator[](int index) { 234 Map operator[](int index) {
236 if (JS("bool", "# >>> 0 !== # || # >= #", index, 235 if (JS("bool", "# >>> 0 !== # || # >= #", index,
237 index, index, length)) 236 index, index, length))
238 throw new RangeError.range(index, 0, length); 237 throw new RangeError.range(index, 0, length);
239 return this.item(index); 238 return this.item(index);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 // BSD-style license that can be found in the LICENSE file. 308 // BSD-style license that can be found in the LICENSE file.
310 309
311 310
312 @DocsEditable 311 @DocsEditable
313 @DomName('SQLTransactionSync') 312 @DomName('SQLTransactionSync')
314 @SupportedBrowser(SupportedBrowser.CHROME) 313 @SupportedBrowser(SupportedBrowser.CHROME)
315 @SupportedBrowser(SupportedBrowser.SAFARI) 314 @SupportedBrowser(SupportedBrowser.SAFARI)
316 @Experimental 315 @Experimental
317 abstract class _SQLTransactionSync native "SQLTransactionSync" { 316 abstract class _SQLTransactionSync native "SQLTransactionSync" {
318 } 317 }
OLDNEW
« no previous file with comments | « sdk/lib/web_gl/dart2js/web_gl_dart2js.dart ('k') | tests/html/node_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698