| Index: third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.h
|
| diff --git a/third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.h b/third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.h
|
| index 64fc6af81340b377045c1c9ac4d06fa35b51a0cd..0436d4938542835fd40718dd398eaecf6a2b7b20 100644
|
| --- a/third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.h
|
| +++ b/third_party/WebKit/Source/core/dom/AnimationWorkletProxyClient.h
|
| @@ -7,19 +7,33 @@
|
|
|
| #include "core/CoreExport.h"
|
| #include "core/dom/CompositorProxyClient.h"
|
| +#include "core/workers/WorkerClients.h"
|
| #include "platform/wtf/Noncopyable.h"
|
|
|
| namespace blink {
|
|
|
| -class CORE_EXPORT AnimationWorkletProxyClient : public GarbageCollectedMixin {
|
| +class WorkletGlobalScope;
|
| +
|
| +class CORE_EXPORT AnimationWorkletProxyClient
|
| + : public Supplement<WorkerClients> {
|
| WTF_MAKE_NONCOPYABLE(AnimationWorkletProxyClient);
|
|
|
| public:
|
| AnimationWorkletProxyClient() {}
|
| - virtual ~AnimationWorkletProxyClient() {}
|
| - DEFINE_INLINE_VIRTUAL_TRACE() {}
|
| +
|
| + static AnimationWorkletProxyClient* From(WorkerClients*);
|
| + static const char* SupplementName();
|
| +
|
| + virtual void SetGlobalScope(WorkletGlobalScope*) = 0;
|
| + virtual void Dispose() = 0;
|
| +
|
| + virtual CompositorProxyClient* GetCompositorProxyClient() = 0;
|
| };
|
|
|
| +CORE_EXPORT void ProvideAnimationWorkletProxyClientTo(
|
| + WorkerClients*,
|
| + AnimationWorkletProxyClient*);
|
| +
|
| } // namespace blink
|
|
|
| #endif // AnimationWorkletProxyClient_h
|
|
|