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

Unified Diff: lib/html/frog/html_frog.dart

Side-by-side diff isn't available for this file because of its large size.
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:
Download patch
Index: lib/html/frog/html_frog.dart
diff --git a/lib/html/frog/html_frog.dart b/lib/html/frog/html_frog.dart
index e0f5e723999f814518b1b0afcdeb267c6fa50cf0..2a9cb9fd0b450d4765c0b63c21984619fd25d0ee 100644
--- a/lib/html/frog/html_frog.dart
+++ b/lib/html/frog/html_frog.dart
@@ -17156,6 +17156,14 @@ class _XSLTProcessorImpl implements XSLTProcessor native "*XSLTProcessor" {
// 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) native
+ '''return new ArrayBuffer(length);''';
+}
+// 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 _AudioElementFactoryProvider {
factory AudioElement([String src = null]) native '''
if (src == null) return new Audio();
@@ -17998,7 +18006,9 @@ interface AreaElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName ArrayBuffer
-interface ArrayBuffer {
+interface ArrayBuffer default _ArrayBufferFactoryProvider {
+
+ ArrayBuffer(int length);
/** @domName ArrayBuffer.byteLength */
final int byteLength;

Powered by Google App Engine
This is Rietveld 408576698