| Index: third_party/WebKit/public/web/WebView.h
|
| diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h
|
| index c8a6244d72ea5a619cad8632d597ea76f2af8d21..c9c11c97bd964da9aaa3cebc327d81fe18aa667f 100644
|
| --- a/third_party/WebKit/public/web/WebView.h
|
| +++ b/third_party/WebKit/public/web/WebView.h
|
| @@ -271,6 +271,9 @@ public:
|
| // Scales the page without affecting layout by using the visual viewport.
|
| virtual void setPageScaleFactor(float) = 0;
|
|
|
| + // Gets the main frame's current scroll offset in CSS pixels.
|
| + virtual WebPoint mainFrameOffset() const = 0;
|
| +
|
| // Sets the offset of the visual viewport within the main frame, in
|
| // partial CSS pixels. The offset will be clamped so the visual viewport
|
| // stays within the frame's bounds.
|
|
|