Index: third_party/WebKit/public/web/WebLocalFrame.h |
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h |
index cc4d81868b2930e33a3ea69ea2858cb9512624a3..0e48d6863fec65cc668c62f2614dc2e3c8fbb10a 100644 |
--- a/third_party/WebKit/public/web/WebLocalFrame.h |
+++ b/third_party/WebKit/public/web/WebLocalFrame.h |
@@ -701,6 +701,10 @@ class WebLocalFrame : public WebFrame { |
// Geometry ----------------------------------------------------------------- |
+ // The scroll offset from the top-left corner of the frame in pixels. |
+ virtual WebSize GetScrollOffset() const = 0; |
+ virtual void SetScrollOffset(const WebSize&) = 0; |
+ |
// If set to false, do not draw scrollbars on this frame's view. |
virtual void SetCanHaveScrollbars(bool) = 0; |