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

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

Issue 15007011: Revert "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;
20 // DO NOT EDIT - unless you are editing documentation as per: 21 // DO NOT EDIT - unless you are editing documentation as per:
21 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 22 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
22 // Auto-generated dart:audio library. 23 // Auto-generated dart:audio library.
23 24
24 25
25 26
26 27
27 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 28 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28 // for details. All rights reserved. Use of this source code is governed by a 29 // for details. All rights reserved. Use of this source code is governed by a
29 // BSD-style license that can be found in the LICENSE file. 30 // BSD-style license that can be found in the LICENSE file.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 @DocsEditable 219 @DocsEditable
219 final int rowsAffected; 220 final int rowsAffected;
220 } 221 }
221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
222 // for details. All rights reserved. Use of this source code is governed by a 223 // for details. All rights reserved. Use of this source code is governed by a
223 // BSD-style license that can be found in the LICENSE file. 224 // BSD-style license that can be found in the LICENSE file.
224 225
225 226
226 @DocsEditable 227 @DocsEditable
227 @DomName('SQLResultSetRowList') 228 @DomName('SQLResultSetRowList')
228 class SqlResultSetRowList extends Object with ListMixin<Map>, ImmutableListMixin <Map> implements JavaScriptIndexingBehavior, List<Map> native "SQLResultSetRowLi st" { 229 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList Mixin<Map> implements JavaScriptIndexingBehavior, List<Map> native "SQLResultSet RowList" {
229 230
230 @DomName('SQLResultSetRowList.length') 231 @DomName('SQLResultSetRowList.length')
231 @DocsEditable 232 @DocsEditable
232 int get length => JS("int", "#.length", this); 233 int get length => JS("int", "#.length", this);
233 234
234 Map operator[](int index) { 235 Map operator[](int index) {
235 if (JS("bool", "# >>> 0 !== # || # >= #", index, 236 if (JS("bool", "# >>> 0 !== # || # >= #", index,
236 index, index, length)) 237 index, index, length))
237 throw new RangeError.range(index, 0, length); 238 throw new RangeError.range(index, 0, length);
238 return this.item(index); 239 return this.item(index);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 // BSD-style license that can be found in the LICENSE file. 309 // BSD-style license that can be found in the LICENSE file.
309 310
310 311
311 @DocsEditable 312 @DocsEditable
312 @DomName('SQLTransactionSync') 313 @DomName('SQLTransactionSync')
313 @SupportedBrowser(SupportedBrowser.CHROME) 314 @SupportedBrowser(SupportedBrowser.CHROME)
314 @SupportedBrowser(SupportedBrowser.SAFARI) 315 @SupportedBrowser(SupportedBrowser.SAFARI)
315 @Experimental 316 @Experimental
316 abstract class _SQLTransactionSync native "SQLTransactionSync" { 317 abstract class _SQLTransactionSync native "SQLTransactionSync" {
317 } 318 }
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