Index: Source/modules/webaudio/AudioNode.idl |
diff --git a/Source/modules/webaudio/AudioNode.idl b/Source/modules/webaudio/AudioNode.idl |
index cdc1b755440190a16aed51e75293d324e2fed470..67177b5a6954b4c2e30dd8ef61ac7d4fd01b0bdf 100644 |
--- a/Source/modules/webaudio/AudioNode.idl |
+++ b/Source/modules/webaudio/AudioNode.idl |
@@ -23,7 +23,9 @@ |
*/ |
[ |
- Conditional=WEB_AUDIO |
+ Conditional=WEB_AUDIO, |
+ ActiveDOMObject, |
+ EventTarget |
] interface AudioNode { |
haraken
2013/04/15 00:01:25
Can you remove the [EventTarget] IDL attribute by
|
readonly attribute AudioContext context; |
readonly attribute unsigned long numberOfInputs; |
@@ -40,4 +42,14 @@ |
[RaisesException] void connect(AudioParam? destination, [Optional=DefaultIsUndefined] unsigned long output); |
[RaisesException] void disconnect([Optional=DefaultIsUndefined] unsigned long output); |
+ |
+ |
+ // EventTarget interface |
+ void addEventListener(DOMString type, |
+ EventListener listener, |
+ [Optional] boolean useCapture); |
+ void removeEventListener(DOMString type, |
+ EventListener listener, |
+ [Optional] boolean useCapture); |
+ [RaisesException] boolean dispatchEvent(Event event); |
}; |