Chromium Code Reviews| Index: Source/modules/webaudio/AudioScheduledSourceNode.h |
| diff --git a/Source/modules/webaudio/AudioScheduledSourceNode.h b/Source/modules/webaudio/AudioScheduledSourceNode.h |
| index 552fa0e75180ea09a107136d7e38de2fff382a3f..cda13a22b3b70c32b42afc44423dc3e3d82742ad 100644 |
| --- a/Source/modules/webaudio/AudioScheduledSourceNode.h |
| +++ b/Source/modules/webaudio/AudioScheduledSourceNode.h |
| @@ -29,13 +29,14 @@ |
| #ifndef AudioScheduledSourceNode_h |
| #define AudioScheduledSourceNode_h |
| +#include "core/dom/ActiveDOMObject.h" |
| #include "modules/webaudio/AudioSourceNode.h" |
| namespace WebCore { |
| class AudioBus; |
| -class AudioScheduledSourceNode : public AudioSourceNode { |
| +class AudioScheduledSourceNode : public AudioSourceNode, public ActiveDOMObject { |
| public: |
| // These are the possible states an AudioScheduledSourceNode can be in: |
| // |
| @@ -58,7 +59,7 @@ public: |
| // Scheduling. |
| void start(double when); |
| - void stop(double when); |
| + void stopNote(double when); |
|
Ken Russell (switch to Gerrit)
2013/09/09 19:45:47
I'm 99.9% sure this renaming isn't necessary. stop
|
| void noteOn(double when); |
| void noteOff(double when); |
| @@ -70,6 +71,9 @@ public: |
| EventListener* onended(DOMWrapperWorld* isolatedWorld) { return getAttributeEventListener(eventNames().endedEvent, isolatedWorld); } |
| void setOnended(PassRefPtr<EventListener>, DOMWrapperWorld* isolatedWorld = 0); |
| + virtual ScriptExecutionContext* scriptExecutionContext() const OVERRIDE; |
|
Ken Russell (switch to Gerrit)
2013/09/09 19:45:47
Please add a comment that these are for ActiveDOMO
|
| + virtual void stop() OVERRIDE; |
| + |
| protected: |
| // Get frame information for the current time quantum. |
| // We handle the transition into PLAYING_STATE and FINISHED_STATE here, |