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

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

Issue 11469039: Make ScriptProcessorNode not a proper event (because it isn't). This fixes the last of the static a… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: renamed non-event variable in script Created 8 years 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/web_audio/dart2js/web_audio_dart2js.dart ('k') | no next file » | 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 ee711d3d553a3e6a89a62a8155e890a40352a3ca..a2aac5b4407fc6775f13d4c5f9d7f578b1a59979 100644
--- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
+++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
@@ -1002,23 +1002,21 @@ class PannerNode extends AudioNode {
/// @domName ScriptProcessorNode
-class ScriptProcessorNode extends AudioNode implements EventTarget {
+class ScriptProcessorNode extends AudioNode {
ScriptProcessorNode.internal(): super.internal();
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
- ScriptProcessorNodeEvents get on =>
- new ScriptProcessorNodeEvents(this);
-
/** @domName ScriptProcessorNode.bufferSize */
int get bufferSize native "ScriptProcessorNode_bufferSize_Getter";
-}
-class ScriptProcessorNodeEvents extends Events {
- ScriptProcessorNodeEvents(EventTarget _ptr) : super(_ptr);
+ /** @domName ScriptProcessorNode.onaudioprocess */
+ EventListener get onaudioprocess native "ScriptProcessorNode_onaudioprocess_Getter";
+
+
+ /** @domName ScriptProcessorNode.onaudioprocess */
+ void set onaudioprocess(EventListener value) native "ScriptProcessorNode_onaudioprocess_Setter";
- EventListenerList get audioProcess => this['audioprocess'];
}
// 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/web_audio/dart2js/web_audio_dart2js.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698