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

Side by Side Diff: lib/dom/dart2js/dom_dart2js.dart

Issue 10877007: Map ObjectArray to List. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « no previous file | lib/dom/dom.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 #library('dart:dom_deprecated'); 1 #library('dart:dom_deprecated');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 6210 matching lines...) Expand 10 before | Expand all | Expand 10 after
6221 } 6221 }
6222 6222
6223 class _SQLResultSetRowListJs extends _DOMTypeJs implements SQLResultSetRowList n ative "*SQLResultSetRowList" { 6223 class _SQLResultSetRowListJs extends _DOMTypeJs implements SQLResultSetRowList n ative "*SQLResultSetRowList" {
6224 6224
6225 final int length; 6225 final int length;
6226 6226
6227 Object item(int index) native; 6227 Object item(int index) native;
6228 } 6228 }
6229 6229
6230 class _SQLTransactionJs extends _DOMTypeJs implements SQLTransaction native "*SQ LTransaction" { 6230 class _SQLTransactionJs extends _DOMTypeJs implements SQLTransaction native "*SQ LTransaction" {
6231
6232 void executeSql(String sqlStatement, List arguments, [SQLStatementCallback cal lback, SQLStatementErrorCallback errorCallback]) native;
6231 } 6233 }
6232 6234
6233 class _SQLTransactionSyncJs extends _DOMTypeJs implements SQLTransactionSync nat ive "*SQLTransactionSync" { 6235 class _SQLTransactionSyncJs extends _DOMTypeJs implements SQLTransactionSync nat ive "*SQLTransactionSync" {
6236
6237 _SQLResultSetJs executeSql(String sqlStatement, List arguments) native;
6234 } 6238 }
6235 6239
6236 class _SVGAElementJs extends _SVGElementJs implements SVGAElement native "*SVGAE lement" { 6240 class _SVGAElementJs extends _SVGElementJs implements SVGAElement native "*SVGAE lement" {
6237 6241
6238 final _SVGAnimatedStringJs target; 6242 final _SVGAnimatedStringJs target;
6239 6243
6240 // From SVGURIReference 6244 // From SVGURIReference
6241 6245
6242 final _SVGAnimatedStringJs href; 6246 final _SVGAnimatedStringJs href;
6243 6247
(...skipping 13001 matching lines...) Expand 10 before | Expand all | Expand 10 after
19245 // WARNING: Do not edit - generated code. 19249 // WARNING: Do not edit - generated code.
19246 19250
19247 typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro r); 19251 typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro r);
19248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19249 // for details. All rights reserved. Use of this source code is governed by a 19253 // for details. All rights reserved. Use of this source code is governed by a
19250 // BSD-style license that can be found in the LICENSE file. 19254 // BSD-style license that can be found in the LICENSE file.
19251 19255
19252 // WARNING: Do not edit - generated code. 19256 // WARNING: Do not edit - generated code.
19253 19257
19254 interface SQLTransaction { 19258 interface SQLTransaction {
19259
19260 void executeSql(String sqlStatement, List arguments, [SQLStatementCallback cal lback, SQLStatementErrorCallback errorCallback]);
19255 } 19261 }
19256 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19257 // for details. All rights reserved. Use of this source code is governed by a 19263 // for details. All rights reserved. Use of this source code is governed by a
19258 // BSD-style license that can be found in the LICENSE file. 19264 // BSD-style license that can be found in the LICENSE file.
19259 19265
19260 // WARNING: Do not edit - generated code. 19266 // WARNING: Do not edit - generated code.
19261 19267
19262 typedef bool SQLTransactionCallback(SQLTransaction transaction); 19268 typedef bool SQLTransactionCallback(SQLTransaction transaction);
19263 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19269 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19264 // for details. All rights reserved. Use of this source code is governed by a 19270 // for details. All rights reserved. Use of this source code is governed by a
19265 // BSD-style license that can be found in the LICENSE file. 19271 // BSD-style license that can be found in the LICENSE file.
19266 19272
19267 // WARNING: Do not edit - generated code. 19273 // WARNING: Do not edit - generated code.
19268 19274
19269 typedef bool SQLTransactionErrorCallback(SQLError error); 19275 typedef bool SQLTransactionErrorCallback(SQLError error);
19270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19271 // for details. All rights reserved. Use of this source code is governed by a 19277 // for details. All rights reserved. Use of this source code is governed by a
19272 // BSD-style license that can be found in the LICENSE file. 19278 // BSD-style license that can be found in the LICENSE file.
19273 19279
19274 // WARNING: Do not edit - generated code. 19280 // WARNING: Do not edit - generated code.
19275 19281
19276 interface SQLTransactionSync { 19282 interface SQLTransactionSync {
19283
19284 SQLResultSet executeSql(String sqlStatement, List arguments);
19277 } 19285 }
19278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19286 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19279 // for details. All rights reserved. Use of this source code is governed by a 19287 // for details. All rights reserved. Use of this source code is governed by a
19280 // BSD-style license that can be found in the LICENSE file. 19288 // BSD-style license that can be found in the LICENSE file.
19281 19289
19282 // WARNING: Do not edit - generated code. 19290 // WARNING: Do not edit - generated code.
19283 19291
19284 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction); 19292 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction);
19285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19293 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19286 // for details. All rights reserved. Use of this source code is governed by a 19294 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 6231 matching lines...) Expand 10 before | Expand all | Expand 10 after
25518 if (length < 0) throw new IllegalArgumentException('length'); 25526 if (length < 0) throw new IllegalArgumentException('length');
25519 if (start < 0) throw new IndexOutOfRangeException(start); 25527 if (start < 0) throw new IndexOutOfRangeException(start);
25520 int end = start + length; 25528 int end = start + length;
25521 if (end > a.length) throw new IndexOutOfRangeException(end); 25529 if (end > a.length) throw new IndexOutOfRangeException(end);
25522 for (int i = start; i < end; i++) { 25530 for (int i = start; i < end; i++) {
25523 accumulator.add(a[i]); 25531 accumulator.add(a[i]);
25524 } 25532 }
25525 return accumulator; 25533 return accumulator;
25526 } 25534 }
25527 } 25535 }
OLDNEW
« no previous file with comments | « no previous file | lib/dom/dom.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698