Index: content/browser/renderer_host/render_widget_host_view_mac.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h |
index d829683f27583a0e81a04fbdb134d08df76a68fb..1801773fa95b3223e3b8c4422f6289f3e83b4923 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_mac.h |
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h |
@@ -230,6 +230,7 @@ class CONTENT_EXPORT RenderWidgetHostViewMac |
virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
virtual void SetSize(const gfx::Size& size) OVERRIDE; |
virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
+ virtual gfx::Vector2dF GetLastScrollOffset() const OVERRIDE; |
virtual gfx::NativeView GetNativeView() const OVERRIDE; |
virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
@@ -480,6 +481,9 @@ class CONTENT_EXPORT RenderWidgetHostViewMac |
// Whether it's allowed to pause waiting for a new frame. |
bool allow_pause_for_resize_or_repaint_; |
+ // The last scroll offset of the view. |
+ gfx::Vector2dF last_scroll_offset_; |
+ |
// The text to be shown in the tooltip, supplied by the renderer. |
base::string16 tooltip_text_; |