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

Unified Diff: blimp/client/core/blimp_client_context_impl.h

Issue 2297933002: blimp: Set up the CompositorDependencies for blimp in Chrome. (Closed)
Patch Set: Created 4 years, 4 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: blimp/client/core/blimp_client_context_impl.h
diff --git a/blimp/client/core/blimp_client_context_impl.h b/blimp/client/core/blimp_client_context_impl.h
index 8302d26ca19bdb5617f7f005a4755092e5c6a8ad..04059e44d556a539f3c34fafde91b2c4c5d9e232 100644
--- a/blimp/client/core/blimp_client_context_impl.h
+++ b/blimp/client/core/blimp_client_context_impl.h
@@ -24,6 +24,7 @@
namespace blimp {
namespace client {
+class BlimpCompositorDependencies;
class BlimpContentsManager;
class ImeFeature;
class NavigationFeature;
@@ -40,7 +41,8 @@ class BlimpClientContextImpl : public BlimpClientContext,
// operations.
BlimpClientContextImpl(
scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner);
+ scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner,
+ std::unique_ptr<CompositorDependencies> compositor_dependencies);
~BlimpClientContextImpl() override;
// BlimpClientContext implementation.
@@ -79,6 +81,8 @@ class BlimpClientContextImpl : public BlimpClientContext,
// The task runner to use for file operations.
scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner_;
+ std::unique_ptr<BlimpCompositorDependencies> blimp_compositor_dependencies_;
+
// The AssignmentSource is used when the user of BlimpClientContextImpl calls
// Connect() to get a valid assignment and later connect to the engine.
std::unique_ptr<AssignmentSource> assignment_source_;

Powered by Google App Engine
This is Rietveld 408576698