OLD | NEW |
1 #library('dom'); | 1 #library('dom'); |
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 17513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17524 final CSSPrimitiveValue right; | 17524 final CSSPrimitiveValue right; |
17525 | 17525 |
17526 final CSSPrimitiveValue top; | 17526 final CSSPrimitiveValue top; |
17527 } | 17527 } |
17528 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 17528 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
17529 // for details. All rights reserved. Use of this source code is governed by a | 17529 // for details. All rights reserved. Use of this source code is governed by a |
17530 // BSD-style license that can be found in the LICENSE file. | 17530 // BSD-style license that can be found in the LICENSE file. |
17531 | 17531 |
17532 // WARNING: Do not edit - generated code. | 17532 // WARNING: Do not edit - generated code. |
17533 | 17533 |
| 17534 typedef bool RequestAnimationFrameCallback(int time); |
| 17535 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 17536 // for details. All rights reserved. Use of this source code is governed by a |
| 17537 // BSD-style license that can be found in the LICENSE file. |
| 17538 |
| 17539 // WARNING: Do not edit - generated code. |
| 17540 |
17534 interface SQLError { | 17541 interface SQLError { |
17535 | 17542 |
17536 static final int CONSTRAINT_ERR = 6; | 17543 static final int CONSTRAINT_ERR = 6; |
17537 | 17544 |
17538 static final int DATABASE_ERR = 1; | 17545 static final int DATABASE_ERR = 1; |
17539 | 17546 |
17540 static final int QUOTA_ERR = 4; | 17547 static final int QUOTA_ERR = 4; |
17541 | 17548 |
17542 static final int SYNTAX_ERR = 5; | 17549 static final int SYNTAX_ERR = 5; |
17543 | 17550 |
(...skipping 5680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23224 | 23231 |
23225 /** | 23232 /** |
23226 * Indicates the document and all subresources have been loaded. | 23233 * Indicates the document and all subresources have been loaded. |
23227 */ | 23234 */ |
23228 static final String COMPLETE = "complete"; | 23235 static final String COMPLETE = "complete"; |
23229 } | 23236 } |
23230 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 23237 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
23231 // for details. All rights reserved. Use of this source code is governed by a | 23238 // for details. All rights reserved. Use of this source code is governed by a |
23232 // BSD-style license that can be found in the LICENSE file. | 23239 // BSD-style license that can be found in the LICENSE file. |
23233 | 23240 |
23234 typedef bool RequestAnimationFrameCallback(int time); | |
23235 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
23236 // for details. All rights reserved. Use of this source code is governed by a | |
23237 // BSD-style license that can be found in the LICENSE file. | |
23238 | |
23239 typedef void TimeoutHandler(); | 23241 typedef void TimeoutHandler(); |
23240 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 23242 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
23241 // for details. All rights reserved. Use of this source code is governed by a | 23243 // for details. All rights reserved. Use of this source code is governed by a |
23242 // BSD-style license that can be found in the LICENSE file. | 23244 // BSD-style license that can be found in the LICENSE file. |
23243 | 23245 |
23244 /** | 23246 /** |
23245 * The [Collections] class implements static methods useful when | 23247 * The [Collections] class implements static methods useful when |
23246 * writing a class that implements [Collection] and the [iterator] | 23248 * writing a class that implements [Collection] and the [iterator] |
23247 * method. | 23249 * method. |
23248 */ | 23250 */ |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23496 if (length < 0) throw new IllegalArgumentException('length'); | 23498 if (length < 0) throw new IllegalArgumentException('length'); |
23497 if (start < 0) throw new IndexOutOfRangeException(start); | 23499 if (start < 0) throw new IndexOutOfRangeException(start); |
23498 int end = start + length; | 23500 int end = start + length; |
23499 if (end > a.length) throw new IndexOutOfRangeException(end); | 23501 if (end > a.length) throw new IndexOutOfRangeException(end); |
23500 for (int i = start; i < end; i++) { | 23502 for (int i = start; i < end; i++) { |
23501 accumulator.add(a[i]); | 23503 accumulator.add(a[i]); |
23502 } | 23504 } |
23503 return accumulator; | 23505 return accumulator; |
23504 } | 23506 } |
23505 } | 23507 } |
OLD | NEW |