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

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

Issue 50263004: Make sure that classes in dart:html do not implement both List and List<E>. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.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 */
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 } 196 }
197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
198 // for details. All rights reserved. Use of this source code is governed by a 198 // for details. All rights reserved. Use of this source code is governed by a
199 // BSD-style license that can be found in the LICENSE file. 199 // BSD-style license that can be found in the LICENSE file.
200 200
201 201
202 @DocsEditable() 202 @DocsEditable()
203 @DomName('SQLResultSetRowList') 203 @DomName('SQLResultSetRowList')
204 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist 204 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist
205 @Experimental() // deprecated 205 @Experimental() // deprecated
206 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList Mixin<Map> implements List native "SQLResultSetRowList" { 206 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList Mixin<Map> implements List<Map> native "SQLResultSetRowList" {
207 // To suppress missing implicit constructor warnings. 207 // To suppress missing implicit constructor warnings.
208 factory SqlResultSetRowList._() { throw new UnsupportedError("Not supported"); } 208 factory SqlResultSetRowList._() { throw new UnsupportedError("Not supported"); }
209 209
210 @DomName('SQLResultSetRowList.length') 210 @DomName('SQLResultSetRowList.length')
211 @DocsEditable() 211 @DocsEditable()
212 int get length => JS("int", "#.length", this); 212 int get length => JS("int", "#.length", this);
213 213
214 Map operator[](int index) { 214 Map operator[](int index) {
215 if (JS("bool", "# >>> 0 !== # || # >= #", index, 215 if (JS("bool", "# >>> 0 !== # || # >= #", index,
216 index, index, length)) 216 index, index, length))
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 @DomName('SQLTransactionSync') 296 @DomName('SQLTransactionSync')
297 @SupportedBrowser(SupportedBrowser.CHROME) 297 @SupportedBrowser(SupportedBrowser.CHROME)
298 @SupportedBrowser(SupportedBrowser.SAFARI) 298 @SupportedBrowser(SupportedBrowser.SAFARI)
299 @Experimental() 299 @Experimental()
300 // http://www.w3.org/TR/webdatabase/#sqltransactionsync 300 // http://www.w3.org/TR/webdatabase/#sqltransactionsync
301 @Experimental() // deprecated 301 @Experimental() // deprecated
302 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn c" { 302 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn c" {
303 // To suppress missing implicit constructor warnings. 303 // To suppress missing implicit constructor warnings.
304 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported"); } 304 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported"); }
305 } 305 }
OLDNEW
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698