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

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

Issue 14619026: 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
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 @DocsEditable 187 @DocsEditable
187 final int rowsAffected; 188 final int rowsAffected;
188 } 189 }
189 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 190 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
190 // for details. All rights reserved. Use of this source code is governed by a 191 // for details. All rights reserved. Use of this source code is governed by a
191 // BSD-style license that can be found in the LICENSE file. 192 // BSD-style license that can be found in the LICENSE file.
192 193
193 194
194 @DocsEditable 195 @DocsEditable
195 @DomName('SQLResultSetRowList') 196 @DomName('SQLResultSetRowList')
196 class SqlResultSetRowList extends Object with ListMixin<Map>, ImmutableListMixin <Map> implements JavaScriptIndexingBehavior, List<Map> native "SQLResultSetRowLi st" { 197 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList Mixin<Map> implements JavaScriptIndexingBehavior, List<Map> native "SQLResultSet RowList" {
197 198
198 @DomName('SQLResultSetRowList.length') 199 @DomName('SQLResultSetRowList.length')
199 @DocsEditable 200 @DocsEditable
200 int get length => JS("int", "#.length", this); 201 int get length => JS("int", "#.length", this);
201 202
202 Map operator[](int index) => this.item(index); 203 Map operator[](int index) => this.item(index);
203 204
204 void operator[]=(int index, Map value) { 205 void operator[]=(int index, Map value) {
205 throw new UnsupportedError("Cannot assign element of immutable List."); 206 throw new UnsupportedError("Cannot assign element of immutable List.");
206 } 207 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // BSD-style license that can be found in the LICENSE file. 248 // BSD-style license that can be found in the LICENSE file.
248 249
249 250
250 @DocsEditable 251 @DocsEditable
251 @DomName('SQLTransactionSync') 252 @DomName('SQLTransactionSync')
252 @SupportedBrowser(SupportedBrowser.CHROME) 253 @SupportedBrowser(SupportedBrowser.CHROME)
253 @SupportedBrowser(SupportedBrowser.SAFARI) 254 @SupportedBrowser(SupportedBrowser.SAFARI)
254 @Experimental 255 @Experimental
255 abstract class _SQLTransactionSync native "SQLTransactionSync" { 256 abstract class _SQLTransactionSync native "SQLTransactionSync" {
256 } 257 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698