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

Unified Diff: lib/dom/dom.dart

Issue 10780029: ArrayBuffer constructor (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | tests/html/typed_arrays_5_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/dom.dart
diff --git a/lib/dom/dom.dart b/lib/dom/dom.dart
index bf4b16fb509c65be2f46a75f32cd5550050326d6..f8afb8612ab7b9298058535aa510ba4a9ff3c9a7 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -13,6 +13,13 @@
// 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.
+class _ArrayBufferFactoryProvider {
+ factory ArrayBuffer(int length) => _dummy();
+}
+// Copyright (c) 2012, 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.
+
class _BlobFactoryProvider {
factory Blob(List blobParts, [String type, String endings]) => _dummy();
}
@@ -232,7 +239,9 @@ interface AbstractWorker extends EventTarget {
// WARNING: Do not edit - generated code.
-interface ArrayBuffer {
+interface ArrayBuffer default _ArrayBufferFactoryProvider {
+
+ ArrayBuffer(int length);
final int byteLength;
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | tests/html/typed_arrays_5_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698