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

Unified Diff: third_party/WebKit/Source/web/CompositorMutatorImpl.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/web/CompositorMutatorImpl.h
diff --git a/third_party/WebKit/Source/web/CompositorMutatorImpl.h b/third_party/WebKit/Source/web/CompositorMutatorImpl.h
index 3cf1f18e71aed1961d1f2bc7a828f5f88d4ee20d..f8d13118a455df0b62bd72fc5d10d4d91329d6f2 100644
--- a/third_party/WebKit/Source/web/CompositorMutatorImpl.h
+++ b/third_party/WebKit/Source/web/CompositorMutatorImpl.h
@@ -14,14 +14,14 @@
namespace blink {
-class CompositorProxy;
-class CompositorProxyClientImpl;
+class CompositorAnimator;
class CompositorMutatorClient;
-// Fans out requests from the compositor to all of the registered ProxyClients
-// which can then mutate layers through their CompositorProxy interfaces.
-// Requests for animation frames are received from ProxyClients and sent to the
-// compositor to generate a new compositor frame.
+// Fans out requests from the compositor to all of the registered
+// CompositorAnimators which can then mutate layers through their respective
+// mutate interface. Requests for animation frames are received from
+// CompositorAnimators and sent to the compositor to generate a new compositor
+// frame.
//
// Should be accessed only on the compositor thread.
class CompositorMutatorImpl final : public CompositorMutator {
@@ -35,8 +35,8 @@ class CompositorMutatorImpl final : public CompositorMutator {
bool mutate(double monotonicTimeNow,
CompositorMutableStateProvider*) override;
- void registerProxyClient(CompositorProxyClientImpl*);
- void unregisterProxyClient(CompositorProxyClientImpl*);
+ void registerCompositorAnimator(CompositorAnimator*);
+ void unregisterCompositorAnimator(CompositorAnimator*);
void setNeedsMutate();
@@ -48,9 +48,9 @@ class CompositorMutatorImpl final : public CompositorMutator {
private:
CompositorMutatorImpl();
- using ProxyClients =
- HashSet<CrossThreadPersistent<CompositorProxyClientImpl>>;
- ProxyClients m_proxyClients;
+ using CompositorAnimators =
+ HashSet<CrossThreadPersistent<CompositorAnimator>>;
+ CompositorAnimators m_animators;
std::unique_ptr<CustomCompositorAnimationManager> m_animationManager;
CompositorMutatorClient* m_client;
« no previous file with comments | « third_party/WebKit/Source/web/CompositorAnimator.h ('k') | third_party/WebKit/Source/web/CompositorMutatorImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698