Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1474)

Unified Diff: third_party/WebKit/Source/core/dom/CompositorProxyClient.h

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: Remove unnecessary PLATFORM_EXPORT Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/CompositorProxyClient.h
diff --git a/third_party/WebKit/Source/core/dom/CompositorProxyClient.h b/third_party/WebKit/Source/core/dom/CompositorProxyClient.h
index 95c056a362ddd3d069cb20fcbea6f8aac30c1e85..8648a4aaf8ab4ce66a5e173b914d234da3230acb 100644
--- a/third_party/WebKit/Source/core/dom/CompositorProxyClient.h
+++ b/third_party/WebKit/Source/core/dom/CompositorProxyClient.h
@@ -6,29 +6,18 @@
#define CompositorProxyClient_h
#include "core/CoreExport.h"
-#include "core/workers/WorkerClients.h"
-#include "wtf/Noncopyable.h"
-
-#include <v8.h>
+#include "platform/heap/Handle.h"
namespace blink {
class CompositorProxy;
-class WorkerClients;
-class WorkerGlobalScope;
-
-class CORE_EXPORT CompositorProxyClient : public Supplement<WorkerClients> {
- WTF_MAKE_NONCOPYABLE(CompositorProxyClient);
+class CORE_EXPORT CompositorProxyClient
+ : public GarbageCollectedFinalized<CompositorProxyClient> {
public:
- CompositorProxyClient() {}
+ virtual ~CompositorProxyClient(){};
+ DEFINE_INLINE_VIRTUAL_TRACE() {}
- static CompositorProxyClient* from(WorkerClients*);
- static const char* supplementName();
-
- virtual void dispose() = 0;
- virtual void setGlobalScope(WorkerGlobalScope*) = 0;
- virtual void requestAnimationFrame() = 0;
virtual void registerCompositorProxy(CompositorProxy*) = 0;
// It is not guaranteed to receive an unregister call for every registered
// proxy. In fact we only receive one when a proxy is explicitly
@@ -37,9 +26,6 @@ class CORE_EXPORT CompositorProxyClient : public Supplement<WorkerClients> {
virtual void unregisterCompositorProxy(CompositorProxy*) = 0;
};
-CORE_EXPORT void provideCompositorProxyClientTo(WorkerClients*,
- CompositorProxyClient*);
-
} // namespace blink
#endif // CompositorProxyClient_h
« no previous file with comments | « third_party/WebKit/Source/core/dom/CompositorProxy.cpp ('k') | third_party/WebKit/Source/core/dom/CompositorProxyClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698