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

Unified Diff: sdk/lib/web_audio/dartium/web_audio_dartium.dart

Issue 13860003: Fix bug in previous commit. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_audio/dartium/web_audio_dartium.dart
diff --git a/sdk/lib/web_audio/dartium/web_audio_dartium.dart b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
index 99c09b82150fef3bc2508e0f6603c4be146fe666..4b410d1d43e5e10ee82b1ccb54890ff2f20dc74f 100644
--- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
+++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
@@ -231,6 +231,10 @@ class AudioContext extends EventTarget {
@DomName('AudioContext.completeEvent')
@DocsEditable
static const EventStreamProvider<Event> completeEvent = const EventStreamProvider<Event>('complete');
+ factory AudioContext() => _create();
+
+ @DocsEditable
+ static AudioContext _create() native "AudioContext_constructorCallback";
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -1113,6 +1117,10 @@ class ScriptProcessorNode extends AudioNode {
@DocsEditable
int get bufferSize native "ScriptProcessorNode_bufferSize_Getter";
+ @DomName('ScriptProcessorNode._setEventListener')
+ @DocsEditable
+ void _setEventListener(EventListener eventListener) native "ScriptProcessorNode__setEventListener_Callback";
+
}
// 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698