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

Side by Side Diff: client/dom/generated/src/wrapping/_Float32ArrayWrappingImplementation.dart

Issue 9117013: Refresh dart:dom from WebKit. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 class _Float32ArrayWrappingImplementation extends _ArrayBufferViewWrappingImplem entation implements Float32Array { 7 class _Float32ArrayWrappingImplementation extends _ArrayBufferViewWrappingImplem entation implements Float32Array {
8 _Float32ArrayWrappingImplementation() : super() {} 8 _Float32ArrayWrappingImplementation() : super() {}
9 9
10 static create__Float32ArrayWrappingImplementation() native { 10 static create__Float32ArrayWrappingImplementation() native {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 101
102 bool isEmpty() { 102 bool isEmpty() {
103 return length == 0; 103 return length == 0;
104 } 104 }
105 105
106 Iterator<num> iterator() { 106 Iterator<num> iterator() {
107 return new _FixedSizeListIterator<num>(this); 107 return new _FixedSizeListIterator<num>(this);
108 } 108 }
109 109
110 void setElements(Object array, [int offset = null]) {
111 if (offset === null) {
112 _setElements(this, array);
113 return;
114 } else {
115 _setElements_2(this, array, offset);
116 return;
117 }
118 }
119 static void _setElements(receiver, array) native;
120 static void _setElements_2(receiver, array, offset) native;
121
110 Float32Array subarray(int start, [int end = null]) { 122 Float32Array subarray(int start, [int end = null]) {
111 if (end === null) { 123 if (end === null) {
112 return _subarray(this, start); 124 return _subarray(this, start);
113 } else { 125 } else {
114 return _subarray_2(this, start, end); 126 return _subarray_2(this, start, end);
115 } 127 }
116 } 128 }
117 static Float32Array _subarray(receiver, start) native; 129 static Float32Array _subarray(receiver, start) native;
118 static Float32Array _subarray_2(receiver, start, end) native; 130 static Float32Array _subarray_2(receiver, start, end) native;
119 131
120 String get typeName() { return "Float32Array"; } 132 String get typeName() { return "Float32Array"; }
121 } 133 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698