Chromium Code Reviews

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

Issue 12328104: Change new List(n) to return fixed length list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 library dart.dom.web_sql; 1 library dart.dom.web_sql;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:nativewrappers'; 7 import 'dart:nativewrappers';
8 // DO NOT EDIT - unless you are editing documentation as per: 8 // DO NOT EDIT - unless you are editing documentation as per:
9 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 9 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
10 // Auto-generated dart:audio library. 10 // Auto-generated dart:audio library.
(...skipping 269 matching lines...)
280 Iterable<Map> where(bool f(Map element)) => 280 Iterable<Map> where(bool f(Map element)) =>
281 IterableMixinWorkaround.where(this, f); 281 IterableMixinWorkaround.where(this, f);
282 282
283 Iterable expand(Iterable f(Map element)) => 283 Iterable expand(Iterable f(Map element)) =>
284 IterableMixinWorkaround.expand(this, f); 284 IterableMixinWorkaround.expand(this, f);
285 285
286 bool every(bool f(Map element)) => IterableMixinWorkaround.every(this, f); 286 bool every(bool f(Map element)) => IterableMixinWorkaround.every(this, f);
287 287
288 bool any(bool f(Map element)) => IterableMixinWorkaround.any(this, f); 288 bool any(bool f(Map element)) => IterableMixinWorkaround.any(this, f);
289 289
290 List<Map> toList() => new List<Map>.from(this); 290 List<Map> toList({ bool growable: false }) =>
291 new List<Map>.from(this, growable: growable);
floitsch 2013/02/26 13:54:19 IterableMixinWorkaround.toListList(this, growable)
292
291 Set<Map> toSet() => new Set<Map>.from(this); 293 Set<Map> toSet() => new Set<Map>.from(this);
292 294
293 bool get isEmpty => this.length == 0; 295 bool get isEmpty => this.length == 0;
294 296
295 Iterable<Map> take(int n) => IterableMixinWorkaround.takeList(this, n); 297 Iterable<Map> take(int n) => IterableMixinWorkaround.takeList(this, n);
296 298
297 Iterable<Map> takeWhile(bool test(Map value)) { 299 Iterable<Map> takeWhile(bool test(Map value)) {
298 return IterableMixinWorkaround.takeWhile(this, test); 300 return IterableMixinWorkaround.takeWhile(this, test);
299 } 301 }
300 302
(...skipping 163 matching lines...)
464 @SupportedBrowser(SupportedBrowser.SAFARI) 466 @SupportedBrowser(SupportedBrowser.SAFARI)
465 @Experimental 467 @Experimental
466 class SqlTransactionSync extends NativeFieldWrapperClass1 { 468 class SqlTransactionSync extends NativeFieldWrapperClass1 {
467 SqlTransactionSync.internal(); 469 SqlTransactionSync.internal();
468 470
469 @DomName('SQLTransactionSync.executeSql') 471 @DomName('SQLTransactionSync.executeSql')
470 @DocsEditable 472 @DocsEditable
471 SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransa ctionSync_executeSql_Callback"; 473 SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransa ctionSync_executeSql_Callback";
472 474
473 } 475 }
OLDNEW

Powered by Google App Engine