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

Unified Diff: sky/viewer/platform/platform_impl.h

Issue 684813003: Remove wtf/Functional.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/engine/wtf/MainThread.cpp ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/platform/platform_impl.h
diff --git a/sky/viewer/platform/platform_impl.h b/sky/viewer/platform/platform_impl.h
index 67b2f7cdbd5acad6cf270203f45db76e8834e9d6..a7b65e719b97e339772bb0595c1e50866d3344ec 100644
--- a/sky/viewer/platform/platform_impl.h
+++ b/sky/viewer/platform/platform_impl.h
@@ -39,6 +39,7 @@ class PlatformImpl : public blink::Platform {
virtual void setSharedTimerFireInterval(double interval_seconds);
virtual void stopSharedTimer();
virtual void callOnMainThread(void (*func)(void*), void* context);
+ virtual base::SingleThreadTaskRunner* mainThreadTaskRunner();
virtual bool isThreadedCompositingEnabled();
virtual blink::WebCompositorSupport* compositorSupport();
virtual mojo::NetworkService* networkService();
@@ -88,6 +89,7 @@ class PlatformImpl : public blink::Platform {
mojo::NetworkServicePtr network_service_;
base::MessageLoop* main_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
base::OneShotTimer<PlatformImpl> shared_timer_;
void (*shared_timer_func_)();
double shared_timer_fire_time_;
« no previous file with comments | « sky/engine/wtf/MainThread.cpp ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698