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

Unified Diff: blimp/client/public/blimp_client_context.h

Issue 2292723003: Move remaining Blimp feature code to core. (Closed)
Patch Set: Fixed gn check failure 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/public/blimp_client_context.h
diff --git a/blimp/client/public/blimp_client_context.h b/blimp/client/public/blimp_client_context.h
index 52573d3a726e438e4bc4b0ffa1083320b5237447..e50a33523181441422abfe3b6a1848149eaf5631 100644
--- a/blimp/client/public/blimp_client_context.h
+++ b/blimp/client/public/blimp_client_context.h
@@ -25,6 +25,8 @@ class SupportsUserData;
namespace blimp {
namespace client {
+class CompositorDependencies;
+
// BlimpClientContext is the core class for the Blimp client. It provides hooks
// for creating BlimpContents and other features that are per
// BrowserContext/Profile.
@@ -44,9 +46,12 @@ class BlimpClientContext : public KeyedService {
// operations.
// The |file_thread_task_runner| must be the task runner to use for file
// operations.
+ // |compositor_dependencies| is a support object that provides all embedder
+ // dependencies required by internal compositors.
static BlimpClientContext* Create(
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);
// The delegate provides all the required functionality from the embedder.
virtual void SetDelegate(BlimpClientContextDelegate* delegate) = 0;

Powered by Google App Engine
This is Rietveld 408576698