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

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: Fix build file 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..bdb8c11d001ff27fd6cbf33894ffa67a99bf3841
--- /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:
+ CompositorProxyClientFactoryImpl(CompositorMutatorImpl*);
nhiroki 2016/11/24 06:59:00 explicit
majidvp 2016/11/28 14:43:21 Done.
+ CompositorProxyClient* create(CompositorProxyClient::Type) override;
+
+ DEFINE_INLINE_TRACE() {}
+
+ private:
+ CrossThreadPersistent<CompositorMutatorImpl> m_mutator;
+};
+
+} // namespace blink
+
+#endif // CompositorProxyClientFactoryImpl_h

Powered by Google App Engine
This is Rietveld 408576698