| 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 4359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4370 | 4370 |
| 4371 class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCan
didate" { | 4371 class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCan
didate" { |
| 4372 | 4372 |
| 4373 final String label; | 4373 final String label; |
| 4374 | 4374 |
| 4375 String toSdp() native; | 4375 String toSdp() native; |
| 4376 } | 4376 } |
| 4377 | 4377 |
| 4378 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { | 4378 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { |
| 4379 | 4379 |
| 4380 final _CanvasPixelArrayJs data; | 4380 final _Uint8ClampedArrayJs data; |
| 4381 | 4381 |
| 4382 final int height; | 4382 final int height; |
| 4383 | 4383 |
| 4384 final int width; | 4384 final int width; |
| 4385 } | 4385 } |
| 4386 | 4386 |
| 4387 class _Int16ArrayJs extends _ArrayBufferViewJs implements Int16Array, List<int>
native "*Int16Array" { | 4387 class _Int16ArrayJs extends _ArrayBufferViewJs implements Int16Array, List<int>
native "*Int16Array" { |
| 4388 | 4388 |
| 4389 static final int BYTES_PER_ELEMENT = 2; | 4389 static final int BYTES_PER_ELEMENT = 2; |
| 4390 | 4390 |
| (...skipping 12812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17203 IDBRequest clear(); | 17203 IDBRequest clear(); |
| 17204 | 17204 |
| 17205 IDBRequest count([key_OR_range]); | 17205 IDBRequest count([key_OR_range]); |
| 17206 | 17206 |
| 17207 IDBIndex createIndex(String name, String keyPath); | 17207 IDBIndex createIndex(String name, String keyPath); |
| 17208 | 17208 |
| 17209 IDBRequest delete(key_OR_keyRange); | 17209 IDBRequest delete(key_OR_keyRange); |
| 17210 | 17210 |
| 17211 void deleteIndex(String name); | 17211 void deleteIndex(String name); |
| 17212 | 17212 |
| 17213 IDBRequest getObject(/*IDBKey*/ key); | 17213 IDBRequest getObject(key); |
| 17214 | 17214 |
| 17215 IDBIndex index(String name); | 17215 IDBIndex index(String name); |
| 17216 | 17216 |
| 17217 IDBRequest openCursor([IDBKeyRange range, int direction]); | 17217 IDBRequest openCursor([IDBKeyRange range, int direction]); |
| 17218 | 17218 |
| 17219 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); | 17219 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); |
| 17220 } | 17220 } |
| 17221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17222 // for details. All rights reserved. Use of this source code is governed by a | 17222 // for details. All rights reserved. Use of this source code is governed by a |
| 17223 // BSD-style license that can be found in the LICENSE file. | 17223 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17316 String toSdp(); | 17316 String toSdp(); |
| 17317 } | 17317 } |
| 17318 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17318 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17319 // for details. All rights reserved. Use of this source code is governed by a | 17319 // for details. All rights reserved. Use of this source code is governed by a |
| 17320 // BSD-style license that can be found in the LICENSE file. | 17320 // BSD-style license that can be found in the LICENSE file. |
| 17321 | 17321 |
| 17322 // WARNING: Do not edit - generated code. | 17322 // WARNING: Do not edit - generated code. |
| 17323 | 17323 |
| 17324 interface ImageData { | 17324 interface ImageData { |
| 17325 | 17325 |
| 17326 final CanvasPixelArray data; | 17326 final Uint8ClampedArray data; |
| 17327 | 17327 |
| 17328 final int height; | 17328 final int height; |
| 17329 | 17329 |
| 17330 final int width; | 17330 final int width; |
| 17331 } | 17331 } |
| 17332 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17332 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17333 // for details. All rights reserved. Use of this source code is governed by a | 17333 // for details. All rights reserved. Use of this source code is governed by a |
| 17334 // BSD-style license that can be found in the LICENSE file. | 17334 // BSD-style license that can be found in the LICENSE file. |
| 17335 | 17335 |
| 17336 // WARNING: Do not edit - generated code. | 17336 // WARNING: Do not edit - generated code. |
| (...skipping 7867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25204 if (length < 0) throw new IllegalArgumentException('length'); | 25204 if (length < 0) throw new IllegalArgumentException('length'); |
| 25205 if (start < 0) throw new IndexOutOfRangeException(start); | 25205 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25206 int end = start + length; | 25206 int end = start + length; |
| 25207 if (end > a.length) throw new IndexOutOfRangeException(end); | 25207 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25208 for (int i = start; i < end; i++) { | 25208 for (int i = start; i < end; i++) { |
| 25209 accumulator.add(a[i]); | 25209 accumulator.add(a[i]); |
| 25210 } | 25210 } |
| 25211 return accumulator; | 25211 return accumulator; |
| 25212 } | 25212 } |
| 25213 } | 25213 } |
| OLD | NEW |