| 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 97edcc168a7ff372a087645b9fab4d16c9a28d7f..c3351ea4cdd451ffc5c1a3b56911691cdd31461b 100644
|
| --- a/third_party/WebKit/Source/core/page/ChromeClient.h
|
| +++ b/third_party/WebKit/Source/core/page/ChromeClient.h
|
| @@ -46,6 +46,7 @@
|
| #include "public/platform/WebDragOperation.h"
|
| #include "public/platform/WebEventListenerProperties.h"
|
| #include "public/platform/WebFocusType.h"
|
| +#include "public/platform/WebScrollBoundaryBehavior.h"
|
|
|
| // To avoid conflicts with the CreateWindow macro from the Windows SDK...
|
| #undef CreateWindow
|
| @@ -140,7 +141,8 @@ class CORE_EXPORT ChromeClient : public PlatformChromeClient {
|
| virtual void DidOverscroll(const FloatSize& overscroll_delta,
|
| const FloatSize& accumulated_overscroll,
|
| const FloatPoint& position_in_viewport,
|
| - const FloatSize& velocity_in_viewport) = 0;
|
| + const FloatSize& velocity_in_viewport,
|
| + const WebScrollBoundaryBehavior&) = 0;
|
|
|
| virtual bool ShouldReportDetailedMessageForSource(LocalFrame&,
|
| const String& source) = 0;
|
| @@ -326,6 +328,8 @@ class CORE_EXPORT ChromeClient : public PlatformChromeClient {
|
|
|
| virtual void DidUpdateBrowserControls() const {}
|
|
|
| + virtual void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) {}
|
| +
|
| virtual void RegisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
|
| virtual void UnregisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
|
| virtual void NotifyPopupOpeningObservers() const = 0;
|
|
|