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

Unified Diff: client/html/src/Float32Array.dart

Issue 9113039: Add constructors for Float32Array and friends. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/html/release/htmlimpl.dart ('k') | client/html/src/Float32ArrayWrappingImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/Float32Array.dart
diff --git a/client/html/generated/src/interface/Float32Array.dart b/client/html/src/Float32Array.dart
similarity index 61%
rename from client/html/generated/src/interface/Float32Array.dart
rename to client/html/src/Float32Array.dart
index 67d93b69208b24c68ebd4c86f63c05a80f7c45f8..4b3b19505e5abe7b095fa9ba6035f7264e938a7d 100644
--- a/client/html/generated/src/interface/Float32Array.dart
+++ b/client/html/src/Float32Array.dart
@@ -2,12 +2,17 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// WARNING: Do not edit - generated code.
-
-interface Float32Array extends ArrayBufferView {
+interface Float32Array extends ArrayBufferView
+ default Float32ArrayWrappingImplementation {
static final int BYTES_PER_ELEMENT = 4;
+ Float32Array(int length);
+
+ Float32Array.from(List<num> list);
+
+ Float32Array.fromBuffer(ArrayBuffer buffer);
+
int get length();
Float32Array subarray(int start, [int end]);
« no previous file with comments | « client/html/release/htmlimpl.dart ('k') | client/html/src/Float32ArrayWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698