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

Unified Diff: sky/shell/ui/engine.h

Issue 962383003: Make shake-to-reload actually work (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/shell/shell.cc ('k') | sky/shell/ui/engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/ui/engine.h
diff --git a/sky/shell/ui/engine.h b/sky/shell/ui/engine.h
index 9198ce1ca78d7c0f1d3348552bf265e0e82d2b17..bfeca07e956d2fcffb1926534f2774b056c93b33 100644
--- a/sky/shell/ui/engine.h
+++ b/sky/shell/ui/engine.h
@@ -35,6 +35,8 @@ class Engine : public UIDelegate,
public blink::WebViewClient {
public:
struct Config {
+ scoped_refptr<base::SingleThreadTaskRunner> java_task_runner;
+
base::WeakPtr<GPUDelegate> gpu_delegate;
scoped_refptr<base::SingleThreadTaskRunner> gpu_task_runner;
};
@@ -44,7 +46,7 @@ class Engine : public UIDelegate,
base::WeakPtr<Engine> GetWeakPtr();
- void Init(mojo::ScopedMessagePipeHandle service_provider);
+ void Init();
void BeginFrame(base::TimeTicks frame_time);
skia::RefPtr<SkPicture> Paint();
@@ -78,8 +80,10 @@ class Engine : public UIDelegate,
void DidNavigateLocally(const mojo::String& url) override;
void RequestNavigateHistory(int32_t delta) override;
+ mojo::ServiceProviderPtr CreateServiceProvider();
void UpdateWebViewSize();
+ scoped_refptr<base::SingleThreadTaskRunner> java_task_runner_;
mojo::ServiceProviderPtr service_provider_;
scoped_ptr<PlatformImpl> platform_impl_;
scoped_ptr<Animator> animator_;
« no previous file with comments | « sky/shell/shell.cc ('k') | sky/shell/ui/engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698