| Index: third_party/WebKit/Source/modules/webaudio/AudioContext.h
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioContext.h b/third_party/WebKit/Source/modules/webaudio/AudioContext.h
|
| index 33fc76846465ca12358d317e195b07e4ee893b85..5148861d8458f0a82276b4ea5707659d3576f096 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioContext.h
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioContext.h
|
| @@ -7,24 +7,34 @@
|
|
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| #include "bindings/core/v8/ScriptPromiseResolver.h"
|
| -#include "modules/webaudio/AbstractAudioContext.h"
|
| +#include "modules/webaudio/BaseAudioContext.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| class Document;
|
| class ExceptionState;
|
| +class HTMLMediaElement;
|
| +class MediaElementAudioSourceNode;
|
| +class MediaStreamAudioDestinationNode;
|
| +class MediaStreamAudioSourceNode;
|
| class ScriptState;
|
|
|
| -// This is an AbstractAudioContext which actually plays sound, unlike an
|
| +// This is an BaseAudioContext which actually plays sound, unlike an
|
| // OfflineAudioContext which renders sound into a buffer.
|
| -class AudioContext : public AbstractAudioContext {
|
| +class AudioContext : public BaseAudioContext {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static AbstractAudioContext* create(Document&, ExceptionState&);
|
| + static AudioContext* create(Document&, ExceptionState&);
|
|
|
| ~AudioContext() override;
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| + MediaElementAudioSourceNode* createMediaElementSource(HTMLMediaElement*, ExceptionState&);
|
| + MediaStreamAudioSourceNode* createMediaStreamSource(MediaStream*, ExceptionState&);
|
| + MediaStreamAudioDestinationNode* createMediaStreamDestination(ExceptionState&);
|
| +
|
| +
|
| ScriptPromise closeContext(ScriptState*) final;
|
| bool isContextClosed() const final;
|
|
|
|
|