| Index: third_party/WebKit/Source/core/page/ChromeClient.h
|
| diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
|
| index 3057804174f8698b691e36b43c9dddabf82d9f34..2e960050fd6ce913eb12a8eee2264a6936bbcb06 100644
|
| --- a/third_party/WebKit/Source/core/page/ChromeClient.h
|
| +++ b/third_party/WebKit/Source/core/page/ChromeClient.h
|
| @@ -106,7 +106,15 @@ public:
|
|
|
| void setWindowFeatures(const WindowFeatures&);
|
|
|
| - virtual void didOverscroll(const FloatSize&, const FloatSize&, const FloatPoint&, const FloatSize&) = 0;
|
| + // All the parameters should be in viewport space. That is, if an event
|
| + // scrolls by 10 px, but due to a 2X page scale we apply a 5px scroll to the
|
| + // root frame, all of which is handled as overscroll, we should return 10px
|
| + // as the overscrollDelta.
|
| + virtual void didOverscroll(
|
| + const FloatSize& overscrollDelta,
|
| + const FloatSize& accumulatedOverscroll,
|
| + const FloatPoint& positionInViewport,
|
| + const FloatSize& velocityInViewport) = 0;
|
|
|
| virtual void setToolbarsVisible(bool) = 0;
|
| virtual bool toolbarsVisible() = 0;
|
|
|