Index: content/public/renderer/android/synchronous_compositor_client.h |
diff --git a/content/public/renderer/android/synchronous_compositor_client.h b/content/public/renderer/android/synchronous_compositor_client.h |
index b123fdbf27df9cebfd96d5f350cbd3a4224b45a1..c24c6dcc0e6440acbccaa446081ad3e84a277faa 100644 |
--- a/content/public/renderer/android/synchronous_compositor_client.h |
+++ b/content/public/renderer/android/synchronous_compositor_client.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ |
#include "base/basictypes.h" |
+#include "ui/gfx/vector2d_f.h" |
namespace content { |
@@ -19,7 +20,9 @@ class SynchronousCompositorClient { |
// SynchronousCompositor::SetClient(NULL) to release the back pointer. |
virtual void DidDestroyCompositor(SynchronousCompositor* compositor) = 0; |
- // TODO(joth): Add scroll getters and setters. |
+ // See LayerScrollOffsetDelegate for details. |
+ virtual void SetTotalRootLayerScrollOffset(gfx::Vector2dF new_value) = 0; |
+ virtual gfx::Vector2dF GetTotalRootLayerScrollOffset() = 0; |
// When true, should periodically call |
// SynchronousCompositorOutputSurface::DemandDrawHw. Note that this value |