Chromium Code Reviews| Index: Source/modules/webaudio/AudioNode.idl |
| diff --git a/Source/modules/webaudio/AudioNode.idl b/Source/modules/webaudio/AudioNode.idl |
| index cdc1b755440190a16aed51e75293d324e2fed470..000611a27d75b1ce031190929217683d9621833e 100644 |
| --- a/Source/modules/webaudio/AudioNode.idl |
| +++ b/Source/modules/webaudio/AudioNode.idl |
| @@ -24,7 +24,7 @@ |
| [ |
| Conditional=WEB_AUDIO |
| -] interface AudioNode { |
| +] interface AudioNode : EventTarget { |
| readonly attribute AudioContext context; |
| readonly attribute unsigned long numberOfInputs; |
| readonly attribute unsigned long numberOfOutputs; |
| @@ -40,4 +40,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); |
|
Chris Rogers
2013/04/17 21:38:20
I just noticed that other .idl files in Blink seem
|
| + void removeEventListener(DOMString type, |
| + EventListener listener, |
| + [Optional] boolean useCapture); |
|
Chris Rogers
2013/04/17 21:38:20
ditto
|
| + [RaisesException] boolean dispatchEvent(Event event); |
| }; |