| 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 14873 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 14884 // BSD-style license that can be found in the LICENSE file. | 14884 // BSD-style license that can be found in the LICENSE file. | 
| 14885 | 14885 | 
| 14886 // WARNING: Do not edit - generated code. | 14886 // WARNING: Do not edit - generated code. | 
| 14887 | 14887 | 
| 14888 interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFac
       toryProvider { | 14888 interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFac
       toryProvider { | 
| 14889 | 14889 | 
| 14890   Float32Array(int length); | 14890   Float32Array(int length); | 
| 14891 | 14891 | 
| 14892   Float32Array.fromList(List<num> list); | 14892   Float32Array.fromList(List<num> list); | 
| 14893 | 14893 | 
| 14894   Float32Array.fromBuffer(ArrayBuffer buffer); | 14894   Float32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); | 
| 14895 | 14895 | 
| 14896   static final int BYTES_PER_ELEMENT = 4; | 14896   static final int BYTES_PER_ELEMENT = 4; | 
| 14897 | 14897 | 
| 14898   final int length; | 14898   final int length; | 
| 14899 | 14899 | 
| 14900   void setElements(Object array, [int offset]); | 14900   void setElements(Object array, [int offset]); | 
| 14901 | 14901 | 
| 14902   Float32Array subarray(int start, [int end]); | 14902   Float32Array subarray(int start, [int end]); | 
| 14903 } | 14903 } | 
| 14904 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 14904 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 14905 // for details. All rights reserved. Use of this source code is governed by a | 14905 // for details. All rights reserved. Use of this source code is governed by a | 
| 14906 // BSD-style license that can be found in the LICENSE file. | 14906 // BSD-style license that can be found in the LICENSE file. | 
| 14907 | 14907 | 
| 14908 // WARNING: Do not edit - generated code. | 14908 // WARNING: Do not edit - generated code. | 
| 14909 | 14909 | 
| 14910 interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFac
       toryProvider { | 14910 interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFac
       toryProvider { | 
| 14911 | 14911 | 
| 14912   Float64Array(int length); | 14912   Float64Array(int length); | 
| 14913 | 14913 | 
| 14914   Float64Array.fromList(List<num> list); | 14914   Float64Array.fromList(List<num> list); | 
| 14915 | 14915 | 
| 14916   Float64Array.fromBuffer(ArrayBuffer buffer); | 14916   Float64Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); | 
| 14917 | 14917 | 
| 14918   static final int BYTES_PER_ELEMENT = 8; | 14918   static final int BYTES_PER_ELEMENT = 8; | 
| 14919 | 14919 | 
| 14920   final int length; | 14920   final int length; | 
| 14921 | 14921 | 
| 14922   void setElements(Object array, [int offset]); | 14922   void setElements(Object array, [int offset]); | 
| 14923 | 14923 | 
| 14924   Float64Array subarray(int start, [int end]); | 14924   Float64Array subarray(int start, [int end]); | 
| 14925 } | 14925 } | 
| 14926 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 14926 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| (...skipping 2266 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 17193 // BSD-style license that can be found in the LICENSE file. | 17193 // BSD-style license that can be found in the LICENSE file. | 
| 17194 | 17194 | 
| 17195 // WARNING: Do not edit - generated code. | 17195 // WARNING: Do not edit - generated code. | 
| 17196 | 17196 | 
| 17197 interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFacto
       ryProvider { | 17197 interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFacto
       ryProvider { | 
| 17198 | 17198 | 
| 17199   Int16Array(int length); | 17199   Int16Array(int length); | 
| 17200 | 17200 | 
| 17201   Int16Array.fromList(List<int> list); | 17201   Int16Array.fromList(List<int> list); | 
| 17202 | 17202 | 
| 17203   Int16Array.fromBuffer(ArrayBuffer buffer); | 17203   Int16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); | 
| 17204 | 17204 | 
| 17205   static final int BYTES_PER_ELEMENT = 2; | 17205   static final int BYTES_PER_ELEMENT = 2; | 
| 17206 | 17206 | 
| 17207   final int length; | 17207   final int length; | 
| 17208 | 17208 | 
| 17209   void setElements(Object array, [int offset]); | 17209   void setElements(Object array, [int offset]); | 
| 17210 | 17210 | 
| 17211   Int16Array subarray(int start, [int end]); | 17211   Int16Array subarray(int start, [int end]); | 
| 17212 } | 17212 } | 
| 17213 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 17213 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 17214 // for details. All rights reserved. Use of this source code is governed by a | 17214 // for details. All rights reserved. Use of this source code is governed by a | 
| 17215 // BSD-style license that can be found in the LICENSE file. | 17215 // BSD-style license that can be found in the LICENSE file. | 
| 17216 | 17216 | 
| 17217 // WARNING: Do not edit - generated code. | 17217 // WARNING: Do not edit - generated code. | 
| 17218 | 17218 | 
| 17219 interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFacto
       ryProvider { | 17219 interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFacto
       ryProvider { | 
| 17220 | 17220 | 
| 17221   Int32Array(int length); | 17221   Int32Array(int length); | 
| 17222 | 17222 | 
| 17223   Int32Array.fromList(List<int> list); | 17223   Int32Array.fromList(List<int> list); | 
| 17224 | 17224 | 
| 17225   Int32Array.fromBuffer(ArrayBuffer buffer); | 17225   Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); | 
| 17226 | 17226 | 
| 17227   static final int BYTES_PER_ELEMENT = 4; | 17227   static final int BYTES_PER_ELEMENT = 4; | 
| 17228 | 17228 | 
| 17229   final int length; | 17229   final int length; | 
| 17230 | 17230 | 
| 17231   void setElements(Object array, [int offset]); | 17231   void setElements(Object array, [int offset]); | 
| 17232 | 17232 | 
| 17233   Int32Array subarray(int start, [int end]); | 17233   Int32Array subarray(int start, [int end]); | 
| 17234 } | 17234 } | 
| 17235 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 17235 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 17236 // for details. All rights reserved. Use of this source code is governed by a | 17236 // for details. All rights reserved. Use of this source code is governed by a | 
| 17237 // BSD-style license that can be found in the LICENSE file. | 17237 // BSD-style license that can be found in the LICENSE file. | 
| 17238 | 17238 | 
| 17239 // WARNING: Do not edit - generated code. | 17239 // WARNING: Do not edit - generated code. | 
| 17240 | 17240 | 
| 17241 interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor
       yProvider { | 17241 interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor
       yProvider { | 
| 17242 | 17242 | 
| 17243   Int8Array(int length); | 17243   Int8Array(int length); | 
| 17244 | 17244 | 
| 17245   Int8Array.fromList(List<int> list); | 17245   Int8Array.fromList(List<int> list); | 
| 17246 | 17246 | 
| 17247   Int8Array.fromBuffer(ArrayBuffer buffer); | 17247   Int8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); | 
| 17248 | 17248 | 
| 17249   static final int BYTES_PER_ELEMENT = 1; | 17249   static final int BYTES_PER_ELEMENT = 1; | 
| 17250 | 17250 | 
| 17251   final int length; | 17251   final int length; | 
| 17252 | 17252 | 
| 17253   void setElements(Object array, [int offset]); | 17253   void setElements(Object array, [int offset]); | 
| 17254 | 17254 | 
| 17255   Int8Array subarray(int start, [int end]); | 17255   Int8Array subarray(int start, [int end]); | 
| 17256 } | 17256 } | 
| 17257 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 17257 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| (...skipping 4792 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 22050 // BSD-style license that can be found in the LICENSE file. | 22050 // BSD-style license that can be found in the LICENSE file. | 
| 22051 | 22051 | 
| 22052 // WARNING: Do not edit - generated code. | 22052 // WARNING: Do not edit - generated code. | 
| 22053 | 22053 | 
| 22054 interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact
       oryProvider { | 22054 interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact
       oryProvider { | 
| 22055 | 22055 | 
| 22056   Uint16Array(int length); | 22056   Uint16Array(int length); | 
| 22057 | 22057 | 
| 22058   Uint16Array.fromList(List<int> list); | 22058   Uint16Array.fromList(List<int> list); | 
| 22059 | 22059 | 
| 22060   Uint16Array.fromBuffer(ArrayBuffer buffer); | 22060   Uint16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); | 
| 22061 | 22061 | 
| 22062   static final int BYTES_PER_ELEMENT = 2; | 22062   static final int BYTES_PER_ELEMENT = 2; | 
| 22063 | 22063 | 
| 22064   final int length; | 22064   final int length; | 
| 22065 | 22065 | 
| 22066   void setElements(Object array, [int offset]); | 22066   void setElements(Object array, [int offset]); | 
| 22067 | 22067 | 
| 22068   Uint16Array subarray(int start, [int end]); | 22068   Uint16Array subarray(int start, [int end]); | 
| 22069 } | 22069 } | 
| 22070 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 22070 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 22071 // for details. All rights reserved. Use of this source code is governed by a | 22071 // for details. All rights reserved. Use of this source code is governed by a | 
| 22072 // BSD-style license that can be found in the LICENSE file. | 22072 // BSD-style license that can be found in the LICENSE file. | 
| 22073 | 22073 | 
| 22074 // WARNING: Do not edit - generated code. | 22074 // WARNING: Do not edit - generated code. | 
| 22075 | 22075 | 
| 22076 interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFact
       oryProvider { | 22076 interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFact
       oryProvider { | 
| 22077 | 22077 | 
| 22078   Uint32Array(int length); | 22078   Uint32Array(int length); | 
| 22079 | 22079 | 
| 22080   Uint32Array.fromList(List<int> list); | 22080   Uint32Array.fromList(List<int> list); | 
| 22081 | 22081 | 
| 22082   Uint32Array.fromBuffer(ArrayBuffer buffer); | 22082   Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); | 
| 22083 | 22083 | 
| 22084   static final int BYTES_PER_ELEMENT = 4; | 22084   static final int BYTES_PER_ELEMENT = 4; | 
| 22085 | 22085 | 
| 22086   final int length; | 22086   final int length; | 
| 22087 | 22087 | 
| 22088   void setElements(Object array, [int offset]); | 22088   void setElements(Object array, [int offset]); | 
| 22089 | 22089 | 
| 22090   Uint32Array subarray(int start, [int end]); | 22090   Uint32Array subarray(int start, [int end]); | 
| 22091 } | 22091 } | 
| 22092 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 22092 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 22093 // for details. All rights reserved. Use of this source code is governed by a | 22093 // for details. All rights reserved. Use of this source code is governed by a | 
| 22094 // BSD-style license that can be found in the LICENSE file. | 22094 // BSD-style license that can be found in the LICENSE file. | 
| 22095 | 22095 | 
| 22096 // WARNING: Do not edit - generated code. | 22096 // WARNING: Do not edit - generated code. | 
| 22097 | 22097 | 
| 22098 interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFacto
       ryProvider { | 22098 interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFacto
       ryProvider { | 
| 22099 | 22099 | 
| 22100   Uint8Array(int length); | 22100   Uint8Array(int length); | 
| 22101 | 22101 | 
| 22102   Uint8Array.fromList(List<int> list); | 22102   Uint8Array.fromList(List<int> list); | 
| 22103 | 22103 | 
| 22104   Uint8Array.fromBuffer(ArrayBuffer buffer); | 22104   Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); | 
| 22105 | 22105 | 
| 22106   static final int BYTES_PER_ELEMENT = 1; | 22106   static final int BYTES_PER_ELEMENT = 1; | 
| 22107 | 22107 | 
| 22108   final int length; | 22108   final int length; | 
| 22109 | 22109 | 
| 22110   void setElements(Object array, [int offset]); | 22110   void setElements(Object array, [int offset]); | 
| 22111 | 22111 | 
| 22112   Uint8Array subarray(int start, [int end]); | 22112   Uint8Array subarray(int start, [int end]); | 
| 22113 } | 22113 } | 
| 22114 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 22114 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 22115 // for details. All rights reserved. Use of this source code is governed by a | 22115 // for details. All rights reserved. Use of this source code is governed by a | 
| 22116 // BSD-style license that can be found in the LICENSE file. | 22116 // BSD-style license that can be found in the LICENSE file. | 
| 22117 | 22117 | 
| 22118 // WARNING: Do not edit - generated code. | 22118 // WARNING: Do not edit - generated code. | 
| 22119 | 22119 | 
| 22120 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
       r { | 22120 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
       r { | 
| 22121 | 22121 | 
| 22122   Uint8ClampedArray(int length); | 22122   Uint8ClampedArray(int length); | 
| 22123 | 22123 | 
| 22124   Uint8ClampedArray.fromList(List<int> list); | 22124   Uint8ClampedArray.fromList(List<int> list); | 
| 22125 | 22125 | 
| 22126   Uint8ClampedArray.fromBuffer(ArrayBuffer buffer); | 22126   Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length])
       ; | 
| 22127 | 22127 | 
| 22128   final int length; | 22128   final int length; | 
| 22129 | 22129 | 
| 22130   void setElements(Object array, [int offset]); | 22130   void setElements(Object array, [int offset]); | 
| 22131 | 22131 | 
| 22132   Uint8ClampedArray subarray(int start, [int end]); | 22132   Uint8ClampedArray subarray(int start, [int end]); | 
| 22133 } | 22133 } | 
| 22134 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 22134 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 22135 // for details. All rights reserved. Use of this source code is governed by a | 22135 // for details. All rights reserved. Use of this source code is governed by a | 
| 22136 // BSD-style license that can be found in the LICENSE file. | 22136 // BSD-style license that can be found in the LICENSE file. | 
| (...skipping 2502 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 24639 // BSD-style license that can be found in the LICENSE file. | 24639 // BSD-style license that can be found in the LICENSE file. | 
| 24640 | 24640 | 
| 24641 class _AudioContextFactoryProvider { | 24641 class _AudioContextFactoryProvider { | 
| 24642 | 24642 | 
| 24643   factory AudioContext() native ''' | 24643   factory AudioContext() native ''' | 
| 24644     var constructor = window.AudioContext || window.webkitAudioContext; | 24644     var constructor = window.AudioContext || window.webkitAudioContext; | 
| 24645     return new constructor(); | 24645     return new constructor(); | 
| 24646 '''; | 24646 '''; | 
| 24647 } | 24647 } | 
| 24648 | 24648 | 
|  | 24649 class _WebKitPointFactoryProvider { | 
|  | 24650 | 
|  | 24651   factory WebKitPoint(num x, num y) native '''return new WebKitPoint(x, y);'''; | 
|  | 24652 } | 
|  | 24653 | 
|  | 24654 class _WebSocketFactoryProvider { | 
|  | 24655 | 
|  | 24656   factory WebSocket(String url) native '''return new WebSocket(url);'''; | 
|  | 24657 } | 
|  | 24658 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
|  | 24659 // for details. All rights reserved. Use of this source code is governed by a | 
|  | 24660 // BSD-style license that can be found in the LICENSE file. | 
|  | 24661 | 
| 24649 class _TypedArrayFactoryProvider { | 24662 class _TypedArrayFactoryProvider { | 
| 24650 | 24663 | 
| 24651   factory Float32Array(int length) => _F32(length); | 24664   factory Float32Array(int length) => _F32(length); | 
| 24652   factory Float32Array.fromList(List<num> list) => _F32(ensureNative(list)); | 24665   factory Float32Array.fromList(List<num> list) => _F32(ensureNative(list)); | 
| 24653   factory Float32Array.fromBuffer(ArrayBuffer buffer) => _F32(buffer); | 24666   factory Float32Array.fromBuffer(ArrayBuffer buffer, | 
|  | 24667                                   [int byteOffset = 0, int length]) { | 
|  | 24668     if (length == null) return _F32_2(buffer, byteOffset); | 
|  | 24669     return _F32_3(buffer, byteOffset, length); | 
|  | 24670   } | 
| 24654 | 24671 | 
| 24655   factory Float64Array(int length) => _F64(length); | 24672   factory Float64Array(int length) => _F64(length); | 
| 24656   factory Float64Array.fromList(List<num> list) => _F64(ensureNative(list)); | 24673   factory Float64Array.fromList(List<num> list) => _F64(ensureNative(list)); | 
| 24657   factory Float64Array.fromBuffer(ArrayBuffer buffer) => _F64(buffer); | 24674   factory Float64Array.fromBuffer(ArrayBuffer buffer, | 
|  | 24675                                   [int byteOffset = 0, int length]) { | 
|  | 24676     if (length == null) return _F64_2(buffer, byteOffset); | 
|  | 24677     return _F64_3(buffer, byteOffset, length); | 
|  | 24678   } | 
| 24658 | 24679 | 
| 24659   factory Int8Array(int length) => _I8(length); | 24680   factory Int8Array(int length) => _I8(length); | 
| 24660   factory Int8Array.fromList(List<num> list) => _I8(ensureNative(list)); | 24681   factory Int8Array.fromList(List<num> list) => _I8(ensureNative(list)); | 
| 24661   factory Int8Array.fromBuffer(ArrayBuffer buffer) => _I8(buffer); | 24682   factory Int8Array.fromBuffer(ArrayBuffer buffer, | 
|  | 24683                                [int byteOffset = 0, int length]) { | 
|  | 24684     if (length == null) return _I8_2(buffer, byteOffset); | 
|  | 24685     return _I8_3(buffer, byteOffset, length); | 
|  | 24686   } | 
| 24662 | 24687 | 
| 24663   factory Int16Array(int length) => _I16(length); | 24688   factory Int16Array(int length) => _I16(length); | 
| 24664   factory Int16Array.fromList(List<num> list) => _I16(ensureNative(list)); | 24689   factory Int16Array.fromList(List<num> list) => _I16(ensureNative(list)); | 
| 24665   factory Int16Array.fromBuffer(ArrayBuffer buffer) => _I16(buffer); | 24690   factory Int16Array.fromBuffer(ArrayBuffer buffer, | 
|  | 24691                                 [int byteOffset = 0, int length]) { | 
|  | 24692     if (length == null) return _I16_2(buffer, byteOffset); | 
|  | 24693     return _I16_3(buffer, byteOffset, length); | 
|  | 24694   } | 
| 24666 | 24695 | 
| 24667   factory Int32Array(int length) => _I32(length); | 24696   factory Int32Array(int length) => _I32(length); | 
| 24668   factory Int32Array.fromList(List<num> list) => _I32(ensureNative(list)); | 24697   factory Int32Array.fromList(List<num> list) => _I32(ensureNative(list)); | 
| 24669   factory Int32Array.fromBuffer(ArrayBuffer buffer) => _I32(buffer); | 24698   factory Int32Array.fromBuffer(ArrayBuffer buffer, | 
|  | 24699                                 [int byteOffset = 0, int length]) { | 
|  | 24700     if (length == null) return _I32_2(buffer, byteOffset); | 
|  | 24701     return _I32_3(buffer, byteOffset, length); | 
|  | 24702   } | 
| 24670 | 24703 | 
| 24671   factory Uint8Array(int length) => _U8(length); | 24704   factory Uint8Array(int length) => _U8(length); | 
| 24672   factory Uint8Array.fromList(List<num> list) => _U8(ensureNative(list)); | 24705   factory Uint8Array.fromList(List<num> list) => _U8(ensureNative(list)); | 
| 24673   factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _U8(buffer); | 24706   factory Uint8Array.fromBuffer(ArrayBuffer buffer, | 
|  | 24707                                 [int byteOffset = 0, int length]) { | 
|  | 24708     if (length == null) return _U8_2(buffer, byteOffset); | 
|  | 24709     return _U8_3(buffer, byteOffset, length); | 
|  | 24710   } | 
| 24674 | 24711 | 
| 24675   factory Uint16Array(int length) => _U16(length); | 24712   factory Uint16Array(int length) => _U16(length); | 
| 24676   factory Uint16Array.fromList(List<num> list) => _U16(ensureNative(list)); | 24713   factory Uint16Array.fromList(List<num> list) => _U16(ensureNative(list)); | 
| 24677   factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _U16(buffer); | 24714   factory Uint16Array.fromBuffer(ArrayBuffer buffer, | 
|  | 24715                                  [int byteOffset = 0, int length]) { | 
|  | 24716     if (length == null) return _U16_2(buffer, byteOffset); | 
|  | 24717     return _U16_3(buffer, byteOffset, length); | 
|  | 24718   } | 
| 24678 | 24719 | 
| 24679   factory Uint32Array(int length) => _U32(length); | 24720   factory Uint32Array(int length) => _U32(length); | 
| 24680   factory Uint32Array.fromList(List<num> list) => _U32(ensureNative(list)); | 24721   factory Uint32Array.fromList(List<num> list) => _U32(ensureNative(list)); | 
| 24681   factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _U32(buffer); | 24722   factory Uint32Array.fromBuffer(ArrayBuffer buffer, | 
|  | 24723                                  [int byteOffset = 0, int length]) { | 
|  | 24724     if (length == null) return _U32_2(buffer, byteOffset); | 
|  | 24725     return _U32_3(buffer, byteOffset, length); | 
|  | 24726   } | 
| 24682 | 24727 | 
| 24683   factory Uint8ClampedArray(int length) => _U8C(length); | 24728   factory Uint8ClampedArray(int length) => _U8C(length); | 
| 24684   factory Uint8ClampedArray.fromList(List<num> list) => _U8C(ensureNative(list))
       ; | 24729   factory Uint8ClampedArray.fromList(List<num> list) => _U8C(ensureNative(list))
       ; | 
| 24685   factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _U8C(buffer); | 24730   factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, | 
|  | 24731                                        [int byteOffset = 0, int length]) { | 
|  | 24732     if (length == null) return _U8C_2(buffer, byteOffset); | 
|  | 24733     return _U8C_3(buffer, byteOffset, length); | 
|  | 24734   } | 
| 24686 | 24735 | 
| 24687   static Float32Array _F32(arg) native 'return new Float32Array(arg);'; | 24736   static Float32Array _F32(arg) native 'return new Float32Array(arg);'; | 
| 24688   static Float64Array _F64(arg) native 'return new Float64Array(arg);'; | 24737   static Float64Array _F64(arg) native 'return new Float64Array(arg);'; | 
| 24689   static Int8Array _I8(arg) native 'return new Int8Array(arg);'; | 24738   static Int8Array _I8(arg) native 'return new Int8Array(arg);'; | 
| 24690   static Int16Array _I16(arg) native 'return new Int16Array(arg);'; | 24739   static Int16Array _I16(arg) native 'return new Int16Array(arg);'; | 
| 24691   static Int32Array _I32(arg) native 'return new Int32Array(arg);'; | 24740   static Int32Array _I32(arg) native 'return new Int32Array(arg);'; | 
| 24692   static Uint8Array _U8(arg) native 'return new Uint8Array(arg);'; | 24741   static Uint8Array _U8(arg) native 'return new Uint8Array(arg);'; | 
| 24693   static Uint16Array _U16(arg) native 'return new Uint16Array(arg);'; | 24742   static Uint16Array _U16(arg) native 'return new Uint16Array(arg);'; | 
| 24694   static Uint32Array _U32(arg) native 'return new Uint32Array(arg);'; | 24743   static Uint32Array _U32(arg) native 'return new Uint32Array(arg);'; | 
| 24695   static Uint8ClampedArray _U8C(arg) native 'return new Uint8ClampedArray(arg);'
       ; | 24744   static Uint8ClampedArray _U8C(arg) native 'return new Uint8ClampedArray(arg);'
       ; | 
| 24696 | 24745 | 
|  | 24746   static Float32Array _F32_2(arg1, arg2) native 'return new Float32Array(arg1, a
       rg2);'; | 
|  | 24747   static Float64Array _F64_2(arg1, arg2) native 'return new Float64Array(arg1, a
       rg2);'; | 
|  | 24748   static Int8Array _I8_2(arg1, arg2) native 'return new Int8Array(arg1, arg2);'; | 
|  | 24749   static Int16Array _I16_2(arg1, arg2) native 'return new Int16Array(arg1, arg2)
       ;'; | 
|  | 24750   static Int32Array _I32_2(arg1, arg2) native 'return new Int32Array(arg1, arg2)
       ;'; | 
|  | 24751   static Uint8Array _U8_2(arg1, arg2) native 'return new Uint8Array(arg1, arg2);
       '; | 
|  | 24752   static Uint16Array _U16_2(arg1, arg2) native 'return new Uint16Array(arg1, arg
       2);'; | 
|  | 24753   static Uint32Array _U32_2(arg1, arg2) native 'return new Uint32Array(arg1, arg
       2);'; | 
|  | 24754   static Uint8ClampedArray _U8C_2(arg1, arg2) native 'return new Uint8ClampedArr
       ay(arg1, arg2);'; | 
|  | 24755 | 
|  | 24756   static Float32Array _F32_3(arg1, arg2, arg3) native 'return new Float32Array(a
       rg1, arg2, arg3);'; | 
|  | 24757   static Float64Array _F64_3(arg1, arg2, arg3) native 'return new Float64Array(a
       rg1, arg2, arg3);'; | 
|  | 24758   static Int8Array _I8_3(arg1, arg2, arg3) native 'return new Int8Array(arg1, ar
       g2, arg3);'; | 
|  | 24759   static Int16Array _I16_3(arg1, arg2, arg3) native 'return new Int16Array(arg1,
        arg2, arg3);'; | 
|  | 24760   static Int32Array _I32_3(arg1, arg2, arg3) native 'return new Int32Array(arg1,
        arg2, arg3);'; | 
|  | 24761   static Uint8Array _U8_3(arg1, arg2, arg3) native 'return new Uint8Array(arg1, 
       arg2, arg3);'; | 
|  | 24762   static Uint16Array _U16_3(arg1, arg2, arg3) native 'return new Uint16Array(arg
       1, arg2, arg3);'; | 
|  | 24763   static Uint32Array _U32_3(arg1, arg2, arg3) native 'return new Uint32Array(arg
       1, arg2, arg3);'; | 
|  | 24764   static Uint8ClampedArray _U8C_3(arg1, arg2, arg3) native 'return new Uint8Clam
       pedArray(arg1, arg2, arg3);'; | 
|  | 24765 | 
|  | 24766 | 
|  | 24767   // Ensures that [list] is a JavaScript Array or a typed array.  If necessary, | 
|  | 24768   // copies the list. | 
| 24697   static ensureNative(List list) => list;  // TODO: make sure. | 24769   static ensureNative(List list) => list;  // TODO: make sure. | 
| 24698 } | 24770 } | 
| 24699 |  | 
| 24700 class _WebKitPointFactoryProvider { |  | 
| 24701 |  | 
| 24702   factory WebKitPoint(num x, num y) native '''return new WebKitPoint(x, y);'''; |  | 
| 24703 } |  | 
| 24704 |  | 
| 24705 class _WebSocketFactoryProvider { |  | 
| 24706 |  | 
| 24707   factory WebSocket(String url) native '''return new WebSocket(url);'''; |  | 
| 24708 } |  | 
| 24709 // Copyright (c) 2011, the Dart project authors.  Please see the AUTHORS file | 24771 // Copyright (c) 2011, the Dart project authors.  Please see the AUTHORS file | 
| 24710 // for details. All rights reserved. Use of this source code is governed by a | 24772 // for details. All rights reserved. Use of this source code is governed by a | 
| 24711 // BSD-style license that can be found in the LICENSE file. | 24773 // BSD-style license that can be found in the LICENSE file. | 
| 24712 | 24774 | 
| 24713 // Iterator for arrays with fixed size. | 24775 // Iterator for arrays with fixed size. | 
| 24714 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> { | 24776 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> { | 
| 24715   _FixedSizeListIterator(List<T> array) | 24777   _FixedSizeListIterator(List<T> array) | 
| 24716       : super(array), | 24778       : super(array), | 
| 24717         _length = array.length; | 24779         _length = array.length; | 
| 24718 | 24780 | 
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 24800     if (length < 0) throw new IllegalArgumentException('length'); | 24862     if (length < 0) throw new IllegalArgumentException('length'); | 
| 24801     if (start < 0) throw new IndexOutOfRangeException(start); | 24863     if (start < 0) throw new IndexOutOfRangeException(start); | 
| 24802     int end = start + length; | 24864     int end = start + length; | 
| 24803     if (end > a.length) throw new IndexOutOfRangeException(end); | 24865     if (end > a.length) throw new IndexOutOfRangeException(end); | 
| 24804     for (int i = start; i < end; i++) { | 24866     for (int i = start; i < end; i++) { | 
| 24805       accumulator.add(a[i]); | 24867       accumulator.add(a[i]); | 
| 24806     } | 24868     } | 
| 24807     return accumulator; | 24869     return accumulator; | 
| 24808   } | 24870   } | 
| 24809 } | 24871 } | 
| OLD | NEW | 
|---|