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

Unified Diff: client/html/release/html.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/htmlimpl.dart ('k') | client/html/release/htmlimpl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/release/html.dart
diff --git a/client/html/release/html.dart b/client/html/release/html.dart
index 0f8dda77756821f55120e92a7497612e22c9f280..f2bac6dd81d263a52c9fec8be6d1db17e5b7bb41 100644
--- a/client/html/release/html.dart
+++ b/client/html/release/html.dart
@@ -2510,34 +2510,6 @@ interface Flags {
// WARNING: Do not edit - generated code.
-interface Float32Array extends ArrayBufferView {
-
- static final int BYTES_PER_ELEMENT = 4;
-
- int get length();
-
- Float32Array subarray(int start, [int end]);
-}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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 Float64Array extends ArrayBufferView {
-
- static final int BYTES_PER_ELEMENT = 8;
-
- int get length();
-
- Float64Array subarray(int start, [int end]);
-}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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 FontElement extends Element {
String get color();
@@ -3390,48 +3362,6 @@ interface InputElement extends Element {
// WARNING: Do not edit - generated code.
-interface Int16Array extends ArrayBufferView {
-
- static final int BYTES_PER_ELEMENT = 2;
-
- int get length();
-
- Int16Array subarray(int start, [int end]);
-}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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 Int32Array extends ArrayBufferView {
-
- static final int BYTES_PER_ELEMENT = 4;
-
- int get length();
-
- Int32Array subarray(int start, [int end]);
-}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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 Int8Array extends ArrayBufferView {
-
- static final int BYTES_PER_ELEMENT = 1;
-
- int get length();
-
- Int8Array subarray(int start, [int end]);
-}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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 JavaScriptAudioNode extends AudioNode {
int get bufferSize();
@@ -8084,48 +8014,6 @@ interface UListElement extends Element {
// WARNING: Do not edit - generated code.
-interface Uint16Array extends ArrayBufferView {
-
- static final int BYTES_PER_ELEMENT = 2;
-
- int get length();
-
- Uint16Array subarray(int start, [int end]);
-}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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 Uint32Array extends ArrayBufferView {
-
- static final int BYTES_PER_ELEMENT = 4;
-
- int get length();
-
- Uint32Array subarray(int start, [int end]);
-}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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 Uint8Array extends ArrayBufferView {
-
- static final int BYTES_PER_ELEMENT = 1;
-
- int get length();
-
- Uint8Array subarray(int start, [int end]);
-}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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 UnknownElement extends Element {
}
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
@@ -11787,6 +11675,44 @@ interface EventTarget {
// 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.
+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]);
+}
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE fil default-styleWrappingImplementatione.
+
+interface Float64Array extends ArrayBufferView
+ default Float64ArrayWrappingImplementation {
+
+ static final int BYTES_PER_ELEMENT = 8;
+
+ Float64Array(int length);
+
+ Float64Array.from(List<num> list);
+
+ Float64Array.fromBuffer(ArrayBuffer buffer);
+
+ int get length();
+
+ Float64Array subarray(int start, [int end]);
+}
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// 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.
+
Window secretWindow;
Document secretDocument;
@@ -11820,6 +11746,63 @@ interface HashChangeEvent extends Event default HashChangeEventWrappingImplement
// 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.
+interface Int16Array extends ArrayBufferView
+ default Int16ArrayWrappingImplementation {
+
+ static final int BYTES_PER_ELEMENT = 2;
+
+ Int16Array(int length);
+
+ Int16Array.from(List<num> list);
+
+ Int16Array.fromBuffer(ArrayBuffer buffer);
+
+ int get length();
+
+ Int16Array subarray(int start, [int end]);
+}
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// 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.
+
+interface Int32Array extends ArrayBufferView
+ default Int32ArrayWrappingImplementation {
+
+ static final int BYTES_PER_ELEMENT = 4;
+
+ Int32Array(int length);
+
+ Int32Array.from(List<num> list);
+
+ Int32Array.fromBuffer(ArrayBuffer buffer);
+
+ int get length();
+
+ Int32Array subarray(int start, [int end]);
+}
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// 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.
+
+interface Int8Array extends ArrayBufferView
+ default Int8ArrayWrappingImplementation {
+
+ static final int BYTES_PER_ELEMENT = 1;
+
+ Int8Array(int length);
+
+ Int8Array.from(List<num> list);
+
+ Int8Array.fromBuffer(ArrayBuffer buffer);
+
+ int get length();
+
+ Int8Array subarray(int start, [int end]);
+}
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// 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.
+
interface KeyboardEvent extends UIEvent default KeyboardEventWrappingImplementation {
static final int KEY_LOCATION_LEFT = 0x01;
@@ -12992,6 +12975,63 @@ interface UIEvent extends Event default UIEventWrappingImplementation {
// 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.
+interface Uint16Array extends ArrayBufferView
+ default Uint16ArrayWrappingImplementation {
+
+ static final int BYTES_PER_ELEMENT = 2;
+
+ Uint16Array(int length);
+
+ Uint16Array.from(List<num> list);
+
+ Uint16Array.fromBuffer(ArrayBuffer buffer);
+
+ int get length();
+
+ Uint16Array subarray(int start, [int end]);
+}
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// 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.
+
+interface Uint32Array extends ArrayBufferView
+ default Uint32ArrayWrappingImplementation {
+
+ static final int BYTES_PER_ELEMENT = 4;
+
+ Uint32Array(int length);
+
+ Uint32Array.from(List<num> list);
+
+ Uint32Array.fromBuffer(ArrayBuffer buffer);
+
+ int get length();
+
+ Uint32Array subarray(int start, [int end]);
+}
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// 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.
+
+interface Uint8Array extends ArrayBufferView
+ default Uint8ArrayWrappingImplementation {
+
+ static final int BYTES_PER_ELEMENT = 1;
+
+ Uint8Array(int length);
+
+ Uint8Array.from(List<num> list);
+
+ Uint8Array.fromBuffer(ArrayBuffer buffer);
+
+ int get length();
+
+ Uint8Array subarray(int start, [int end]);
+}
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// 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.
+
interface WebSocket extends EventTarget {
static final int CLOSED = 3;
« no previous file with comments | « client/html/htmlimpl.dart ('k') | client/html/release/htmlimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698