Index: mojo/services/html_viewer/blink_platform_impl.h |
diff --git a/mojo/services/html_viewer/blink_platform_impl.h b/mojo/services/html_viewer/blink_platform_impl.h |
index 5aaf3582ada626b3b7fa275e92adae2db1ad1c83..aeae757bec009e32aa05b9ce8cdb0064f22ea37b 100644 |
--- a/mojo/services/html_viewer/blink_platform_impl.h |
+++ b/mojo/services/html_viewer/blink_platform_impl.h |
@@ -9,6 +9,7 @@ |
#include "base/message_loop/message_loop.h" |
#include "base/threading/thread_local_storage.h" |
#include "base/timer/timer.h" |
+#include "cc/blink/web_compositor_support_impl.h" |
#include "mojo/services/html_viewer/webmimeregistry_impl.h" |
#include "mojo/services/html_viewer/webthemeengine_impl.h" |
#include "mojo/services/public/interfaces/network/network_service.mojom.h" |
@@ -37,6 +38,8 @@ class BlinkPlatformImpl : public blink::Platform { |
virtual void setSharedTimerFireInterval(double interval_seconds); |
virtual void stopSharedTimer(); |
virtual void callOnMainThread(void (*func)(void*), void* context); |
+ virtual bool isThreadedCompositingEnabled(); |
+ virtual blink::WebCompositorSupport* compositorSupport(); |
virtual blink::WebURLLoader* createURLLoader(); |
virtual blink::WebSocketHandle* createWebSocketHandle(); |
virtual blink::WebString userAgent(); |
@@ -72,6 +75,7 @@ class BlinkPlatformImpl : public blink::Platform { |
bool shared_timer_fire_time_was_set_while_suspended_; |
int shared_timer_suspended_; // counter |
base::ThreadLocalStorage::Slot current_thread_slot_; |
+ cc_blink::WebCompositorSupportImpl compositor_support_; |
WebThemeEngineImpl theme_engine_; |
scoped_ptr<WebCookieJarImpl> cookie_jar_; |
WebMimeRegistryImpl mime_registry_; |