Index: content/browser/frame_host/render_widget_host_view_child_frame.h |
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.h b/content/browser/frame_host/render_widget_host_view_child_frame.h |
index 26b6535336bb1dedfaab37160e610b124dd7557a..d031118a4d6173313ddfaf3324aa2ac852bec7ae 100644 |
--- a/content/browser/frame_host/render_widget_host_view_child_frame.h |
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.h |
@@ -49,6 +49,7 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame |
virtual void Hide() OVERRIDE; |
virtual bool IsShowing() OVERRIDE; |
virtual gfx::Rect GetViewBounds() const OVERRIDE; |
+ virtual gfx::Vector2dF GetLastScrollOffset() const OVERRIDE; |
virtual gfx::NativeView GetNativeView() const OVERRIDE; |
virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
@@ -158,6 +159,9 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame |
protected: |
friend class RenderWidgetHostView; |
+ // The last scroll offset of the view. |
+ gfx::Vector2dF last_scroll_offset_; |
+ |
// Members will become private when RenderWidgetHostViewGuest is removed. |
// The model object. |
RenderWidgetHostImpl* host_; |