Index: webkit/compositor_bindings/web_compositor_support_impl.h |
diff --git a/webkit/compositor_bindings/web_compositor_support_impl.h b/webkit/compositor_bindings/web_compositor_support_impl.h |
index ac7e2767188e1a1103d51378958c8657394834e1..311f6fb9ce56cb48f8668a3965025b8f7a7df00e 100644 |
--- a/webkit/compositor_bindings/web_compositor_support_impl.h |
+++ b/webkit/compositor_bindings/web_compositor_support_impl.h |
@@ -5,9 +5,14 @@ |
#ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
#define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
+#include "base/memory/ref_counted.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSupport.h" |
+namespace base { |
+class MessageLoopProxy; |
+} |
+ |
namespace webkit { |
class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { |
@@ -15,7 +20,7 @@ class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { |
WebCompositorSupportImpl(); |
virtual ~WebCompositorSupportImpl(); |
- virtual void initialize(WebKit::WebThread* thread); |
+ virtual void initialize(WebKit::WebThread* implThread); |
virtual bool isThreadingEnabled(); |
virtual void shutdown(); |
virtual void setPerTilePaintingEnabled(bool enabled); |
@@ -50,6 +55,10 @@ class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { |
createFloatAnimationCurve(); |
virtual WebKit::WebTransformAnimationCurve* |
createTransformAnimationCurve(); |
+ |
+ private: |
+ scoped_refptr<base::MessageLoopProxy> impl_thread_message_loop_proxy_; |
+ bool initialized_; |
}; |
} // namespace webkit |