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

Unified Diff: third_party/WebKit/Source/web/CompositorProxyClientFactoryImpl.h

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: address feedback Created 4 years, 1 month 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/CompositorProxyClientFactoryImpl.h
diff --git a/third_party/WebKit/Source/web/CompositorProxyClientFactoryImpl.h b/third_party/WebKit/Source/web/CompositorProxyClientFactoryImpl.h
new file mode 100644
index 0000000000000000000000000000000000000000..fafa7e5c621f80bf7d94d55d149b0a26e0ce1c10
--- /dev/null
+++ b/third_party/WebKit/Source/web/CompositorProxyClientFactoryImpl.h
@@ -0,0 +1,30 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CompositorProxyClientFactoryImpl_h
+#define CompositorProxyClientFactoryImpl_h
+
+#include "core/dom/CompositorProxyClientFactory.h"
+#include "platform/heap/Handle.h"
+
+namespace blink {
+
+class CompositorMutatorImpl;
+
+class CompositorProxyClientFactoryImpl final
+ : public GarbageCollectedFinalized<CompositorProxyClientFactoryImpl>,
+ public CompositorProxyClientFactory {
+ public:
+ explicit CompositorProxyClientFactoryImpl(CompositorMutatorImpl*);
+ CompositorProxyClient* create(CompositorProxyClient::Type) override;
dcheng 2016/11/28 21:17:32 Nit: It's nice to annotate this with something lik
majidvp 2017/01/20 15:48:57 I ended up removing the factory. So this is no lon
+
+ DEFINE_INLINE_TRACE() {}
+
+ private:
+ CrossThreadPersistent<CompositorMutatorImpl> m_mutator;
dcheng 2016/11/28 21:17:32 This code has a lot of CrossThreadPersistents...
haraken 2016/11/29 02:35:36 Yeah, I agree that this needs to be CrossThreadPer
majidvp 2017/01/20 15:48:57 OK. I realized the factory is not really doing muc
+};
+
+} // namespace blink
+
+#endif // CompositorProxyClientFactoryImpl_h

Powered by Google App Engine
This is Rietveld 408576698