Index: cc/layer_tree_host_client.h |
diff --git a/cc/layer_tree_host_client.h b/cc/layer_tree_host_client.h |
index 3bec03283e43d608650fae95fcbecc3824a537d0..f6cb7028ab18606bdeca5d4e0c38107e6bc453fb 100644 |
--- a/cc/layer_tree_host_client.h |
+++ b/cc/layer_tree_host_client.h |
@@ -7,13 +7,16 @@ |
#include "base/memory/scoped_ptr.h" |
+namespace gfx { |
+class Vector2d; |
+} |
+ |
namespace WebKit { |
class WebCompositorOutputSurface; |
} |
namespace cc { |
class InputHandler; |
-class IntSize; |
class LayerTreeHostClient { |
public: |
@@ -22,7 +25,7 @@ public: |
virtual void didBeginFrame() = 0; |
virtual void animate(double frameBeginTime) = 0; |
virtual void layout() = 0; |
- virtual void applyScrollAndScale(const IntSize& scrollDelta, float pageScale) = 0; |
+ virtual void applyScrollAndScale(gfx::Vector2d scrollDelta, float pageScale) = 0; |
virtual scoped_ptr<WebKit::WebCompositorOutputSurface> createOutputSurface() = 0; |
virtual void didRecreateOutputSurface(bool success) = 0; |
virtual scoped_ptr<InputHandler> createInputHandler() = 0; |