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

Side by Side Diff: sdk/lib/web_sql/dartium/web_sql_dartium.dart

Issue 27227002: Untyping List types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 */
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // for details. All rights reserved. Use of this source code is governed by a 199 // for details. All rights reserved. Use of this source code is governed by a
200 // BSD-style license that can be found in the LICENSE file. 200 // BSD-style license that can be found in the LICENSE file.
201 201
202 // WARNING: Do not edit - generated code. 202 // WARNING: Do not edit - generated code.
203 203
204 204
205 @DocsEditable() 205 @DocsEditable()
206 @DomName('SQLResultSetRowList') 206 @DomName('SQLResultSetRowList')
207 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist 207 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist
208 @Experimental() // deprecated 208 @Experimental() // deprecated
209 class SqlResultSetRowList extends NativeFieldWrapperClass1 with ListMixin<Map>, ImmutableListMixin<Map> implements List<Map> { 209 class SqlResultSetRowList extends NativeFieldWrapperClass1 with ListMixin<Map>, ImmutableListMixin<Map> implements List {
210 210
211 @DomName('SQLResultSetRowList.length') 211 @DomName('SQLResultSetRowList.length')
212 @DocsEditable() 212 @DocsEditable()
213 int get length native "SQLResultSetRowList_length_Getter"; 213 int get length native "SQLResultSetRowList_length_Getter";
214 214
215 Map operator[](int index) { 215 Map operator[](int index) {
216 if (index < 0 || index >= length) 216 if (index < 0 || index >= length)
217 throw new RangeError.range(index, 0, length); 217 throw new RangeError.range(index, 0, length);
218 return _nativeIndexedGetter(index); 218 return _nativeIndexedGetter(index);
219 } 219 }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 @DocsEditable() 293 @DocsEditable()
294 @DomName('SQLTransactionSync') 294 @DomName('SQLTransactionSync')
295 @SupportedBrowser(SupportedBrowser.CHROME) 295 @SupportedBrowser(SupportedBrowser.CHROME)
296 @SupportedBrowser(SupportedBrowser.SAFARI) 296 @SupportedBrowser(SupportedBrowser.SAFARI)
297 @Experimental() 297 @Experimental()
298 // http://www.w3.org/TR/webdatabase/#sqltransactionsync 298 // http://www.w3.org/TR/webdatabase/#sqltransactionsync
299 @Experimental() // deprecated 299 @Experimental() // deprecated
300 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { 300 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 {
301 301
302 } 302 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698