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

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

Issue 9950037: Fix factory dart:html typed array providers for dartium. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: suppress html/TypedArrays tests in ie Created 8 years, 8 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 | « client/tests/client/html/TypedArrays2Test.dart ('k') | lib/dom/frog/dom_frog.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('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, 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 with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
(...skipping 3064 matching lines...) Expand 10 before | Expand all | Expand 10 after
3075 // BSD-style license that can be found in the LICENSE file. 3075 // BSD-style license that can be found in the LICENSE file.
3076 3076
3077 // WARNING: Do not edit - generated code. 3077 // WARNING: Do not edit - generated code.
3078 3078
3079 interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFac toryProvider { 3079 interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFac toryProvider {
3080 3080
3081 Float32Array(int length); 3081 Float32Array(int length);
3082 3082
3083 Float32Array.fromList(List<num> list); 3083 Float32Array.fromList(List<num> list);
3084 3084
3085 Float32Array.fromBuffer(ArrayBuffer buffer); 3085 Float32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
3086 3086
3087 static final int BYTES_PER_ELEMENT = 4; 3087 static final int BYTES_PER_ELEMENT = 4;
3088 3088
3089 final int length; 3089 final int length;
3090 3090
3091 void setElements(Object array, [int offset]); 3091 void setElements(Object array, [int offset]);
3092 3092
3093 Float32Array subarray(int start, [int end]); 3093 Float32Array subarray(int start, [int end]);
3094 } 3094 }
3095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3096 // for details. All rights reserved. Use of this source code is governed by a 3096 // for details. All rights reserved. Use of this source code is governed by a
3097 // BSD-style license that can be found in the LICENSE file. 3097 // BSD-style license that can be found in the LICENSE file.
3098 3098
3099 // WARNING: Do not edit - generated code. 3099 // WARNING: Do not edit - generated code.
3100 3100
3101 interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFac toryProvider { 3101 interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFac toryProvider {
3102 3102
3103 Float64Array(int length); 3103 Float64Array(int length);
3104 3104
3105 Float64Array.fromList(List<num> list); 3105 Float64Array.fromList(List<num> list);
3106 3106
3107 Float64Array.fromBuffer(ArrayBuffer buffer); 3107 Float64Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
3108 3108
3109 static final int BYTES_PER_ELEMENT = 8; 3109 static final int BYTES_PER_ELEMENT = 8;
3110 3110
3111 final int length; 3111 final int length;
3112 3112
3113 void setElements(Object array, [int offset]); 3113 void setElements(Object array, [int offset]);
3114 3114
3115 Float64Array subarray(int start, [int end]); 3115 Float64Array subarray(int start, [int end]);
3116 } 3116 }
3117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 2266 matching lines...) Expand 10 before | Expand all | Expand 10 after
5384 // BSD-style license that can be found in the LICENSE file. 5384 // BSD-style license that can be found in the LICENSE file.
5385 5385
5386 // WARNING: Do not edit - generated code. 5386 // WARNING: Do not edit - generated code.
5387 5387
5388 interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider { 5388 interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider {
5389 5389
5390 Int16Array(int length); 5390 Int16Array(int length);
5391 5391
5392 Int16Array.fromList(List<int> list); 5392 Int16Array.fromList(List<int> list);
5393 5393
5394 Int16Array.fromBuffer(ArrayBuffer buffer); 5394 Int16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
5395 5395
5396 static final int BYTES_PER_ELEMENT = 2; 5396 static final int BYTES_PER_ELEMENT = 2;
5397 5397
5398 final int length; 5398 final int length;
5399 5399
5400 void setElements(Object array, [int offset]); 5400 void setElements(Object array, [int offset]);
5401 5401
5402 Int16Array subarray(int start, [int end]); 5402 Int16Array subarray(int start, [int end]);
5403 } 5403 }
5404 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5404 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5405 // for details. All rights reserved. Use of this source code is governed by a 5405 // for details. All rights reserved. Use of this source code is governed by a
5406 // BSD-style license that can be found in the LICENSE file. 5406 // BSD-style license that can be found in the LICENSE file.
5407 5407
5408 // WARNING: Do not edit - generated code. 5408 // WARNING: Do not edit - generated code.
5409 5409
5410 interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider { 5410 interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider {
5411 5411
5412 Int32Array(int length); 5412 Int32Array(int length);
5413 5413
5414 Int32Array.fromList(List<int> list); 5414 Int32Array.fromList(List<int> list);
5415 5415
5416 Int32Array.fromBuffer(ArrayBuffer buffer); 5416 Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
5417 5417
5418 static final int BYTES_PER_ELEMENT = 4; 5418 static final int BYTES_PER_ELEMENT = 4;
5419 5419
5420 final int length; 5420 final int length;
5421 5421
5422 void setElements(Object array, [int offset]); 5422 void setElements(Object array, [int offset]);
5423 5423
5424 Int32Array subarray(int start, [int end]); 5424 Int32Array subarray(int start, [int end]);
5425 } 5425 }
5426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5427 // for details. All rights reserved. Use of this source code is governed by a 5427 // for details. All rights reserved. Use of this source code is governed by a
5428 // BSD-style license that can be found in the LICENSE file. 5428 // BSD-style license that can be found in the LICENSE file.
5429 5429
5430 // WARNING: Do not edit - generated code. 5430 // WARNING: Do not edit - generated code.
5431 5431
5432 interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor yProvider { 5432 interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor yProvider {
5433 5433
5434 Int8Array(int length); 5434 Int8Array(int length);
5435 5435
5436 Int8Array.fromList(List<int> list); 5436 Int8Array.fromList(List<int> list);
5437 5437
5438 Int8Array.fromBuffer(ArrayBuffer buffer); 5438 Int8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
5439 5439
5440 static final int BYTES_PER_ELEMENT = 1; 5440 static final int BYTES_PER_ELEMENT = 1;
5441 5441
5442 final int length; 5442 final int length;
5443 5443
5444 void setElements(Object array, [int offset]); 5444 void setElements(Object array, [int offset]);
5445 5445
5446 Int8Array subarray(int start, [int end]); 5446 Int8Array subarray(int start, [int end]);
5447 } 5447 }
5448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 4792 matching lines...) Expand 10 before | Expand all | Expand 10 after
10241 // BSD-style license that can be found in the LICENSE file. 10241 // BSD-style license that can be found in the LICENSE file.
10242 10242
10243 // WARNING: Do not edit - generated code. 10243 // WARNING: Do not edit - generated code.
10244 10244
10245 interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact oryProvider { 10245 interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact oryProvider {
10246 10246
10247 Uint16Array(int length); 10247 Uint16Array(int length);
10248 10248
10249 Uint16Array.fromList(List<int> list); 10249 Uint16Array.fromList(List<int> list);
10250 10250
10251 Uint16Array.fromBuffer(ArrayBuffer buffer); 10251 Uint16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
10252 10252
10253 static final int BYTES_PER_ELEMENT = 2; 10253 static final int BYTES_PER_ELEMENT = 2;
10254 10254
10255 final int length; 10255 final int length;
10256 10256
10257 void setElements(Object array, [int offset]); 10257 void setElements(Object array, [int offset]);
10258 10258
10259 Uint16Array subarray(int start, [int end]); 10259 Uint16Array subarray(int start, [int end]);
10260 } 10260 }
10261 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10261 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10262 // for details. All rights reserved. Use of this source code is governed by a 10262 // for details. All rights reserved. Use of this source code is governed by a
10263 // BSD-style license that can be found in the LICENSE file. 10263 // BSD-style license that can be found in the LICENSE file.
10264 10264
10265 // WARNING: Do not edit - generated code. 10265 // WARNING: Do not edit - generated code.
10266 10266
10267 interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFact oryProvider { 10267 interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFact oryProvider {
10268 10268
10269 Uint32Array(int length); 10269 Uint32Array(int length);
10270 10270
10271 Uint32Array.fromList(List<int> list); 10271 Uint32Array.fromList(List<int> list);
10272 10272
10273 Uint32Array.fromBuffer(ArrayBuffer buffer); 10273 Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
10274 10274
10275 static final int BYTES_PER_ELEMENT = 4; 10275 static final int BYTES_PER_ELEMENT = 4;
10276 10276
10277 final int length; 10277 final int length;
10278 10278
10279 void setElements(Object array, [int offset]); 10279 void setElements(Object array, [int offset]);
10280 10280
10281 Uint32Array subarray(int start, [int end]); 10281 Uint32Array subarray(int start, [int end]);
10282 } 10282 }
10283 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10283 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10284 // for details. All rights reserved. Use of this source code is governed by a 10284 // for details. All rights reserved. Use of this source code is governed by a
10285 // BSD-style license that can be found in the LICENSE file. 10285 // BSD-style license that can be found in the LICENSE file.
10286 10286
10287 // WARNING: Do not edit - generated code. 10287 // WARNING: Do not edit - generated code.
10288 10288
10289 interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider { 10289 interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider {
10290 10290
10291 Uint8Array(int length); 10291 Uint8Array(int length);
10292 10292
10293 Uint8Array.fromList(List<int> list); 10293 Uint8Array.fromList(List<int> list);
10294 10294
10295 Uint8Array.fromBuffer(ArrayBuffer buffer); 10295 Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
10296 10296
10297 static final int BYTES_PER_ELEMENT = 1; 10297 static final int BYTES_PER_ELEMENT = 1;
10298 10298
10299 final int length; 10299 final int length;
10300 10300
10301 void setElements(Object array, [int offset]); 10301 void setElements(Object array, [int offset]);
10302 10302
10303 Uint8Array subarray(int start, [int end]); 10303 Uint8Array subarray(int start, [int end]);
10304 } 10304 }
10305 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10305 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10306 // for details. All rights reserved. Use of this source code is governed by a 10306 // for details. All rights reserved. Use of this source code is governed by a
10307 // BSD-style license that can be found in the LICENSE file. 10307 // BSD-style license that can be found in the LICENSE file.
10308 10308
10309 // WARNING: Do not edit - generated code. 10309 // WARNING: Do not edit - generated code.
10310 10310
10311 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide r { 10311 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide r {
10312 10312
10313 Uint8ClampedArray(int length); 10313 Uint8ClampedArray(int length);
10314 10314
10315 Uint8ClampedArray.fromList(List<int> list); 10315 Uint8ClampedArray.fromList(List<int> list);
10316 10316
10317 Uint8ClampedArray.fromBuffer(ArrayBuffer buffer); 10317 Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) ;
10318 10318
10319 final int length; 10319 final int length;
10320 10320
10321 void setElements(Object array, [int offset]); 10321 void setElements(Object array, [int offset]);
10322 10322
10323 Uint8ClampedArray subarray(int start, [int end]); 10323 Uint8ClampedArray subarray(int start, [int end]);
10324 } 10324 }
10325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10326 // for details. All rights reserved. Use of this source code is governed by a 10326 // for details. All rights reserved. Use of this source code is governed by a
10327 // BSD-style license that can be found in the LICENSE file. 10327 // BSD-style license that can be found in the LICENSE file.
(...skipping 2449 matching lines...) Expand 10 before | Expand all | Expand 10 after
12777 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12777 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12778 // for details. All rights reserved. Use of this source code is governed by a 12778 // for details. All rights reserved. Use of this source code is governed by a
12779 // BSD-style license that can be found in the LICENSE file. 12779 // BSD-style license that can be found in the LICENSE file.
12780 12780
12781 Window get window() => _dummy(); 12781 Window get window() => _dummy();
12782 12782
12783 // TODO(vsm): Remove when prefixes are supported. 12783 // TODO(vsm): Remove when prefixes are supported.
12784 Window get dom_window() => _dummy(); 12784 Window get dom_window() => _dummy();
12785 12785
12786 Document get document() => _dummy(); 12786 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « client/tests/client/html/TypedArrays2Test.dart ('k') | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698