| Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| index 285f90409cfa7caa37c9a2dce2980d9fa8ee85fa..7e060c5cddc3f847657718e607a3f46604b953a8 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -296,16 +296,18 @@ Page* ChromeClientImpl::CreateWindow(LocalFrame* frame,
|
| return new_view->GetPage();
|
| }
|
|
|
| -void ChromeClientImpl::DidOverscroll(const FloatSize& overscroll_delta,
|
| - const FloatSize& accumulated_overscroll,
|
| - const FloatPoint& position_in_viewport,
|
| - const FloatSize& velocity_in_viewport) {
|
| +void ChromeClientImpl::DidOverscroll(
|
| + const FloatSize& overscroll_delta,
|
| + const FloatSize& accumulated_overscroll,
|
| + const FloatPoint& position_in_viewport,
|
| + const FloatSize& velocity_in_viewport,
|
| + const WebScrollBoundaryBehavior& behavior) {
|
| if (!web_view_->Client())
|
| return;
|
|
|
| web_view_->Client()->DidOverscroll(overscroll_delta, accumulated_overscroll,
|
| - position_in_viewport,
|
| - velocity_in_viewport);
|
| + position_in_viewport, velocity_in_viewport,
|
| + behavior);
|
| }
|
|
|
| void ChromeClientImpl::Show(NavigationPolicy navigation_policy) {
|
| @@ -1082,6 +1084,11 @@ void ChromeClientImpl::DidUpdateBrowserControls() const {
|
| web_view_->DidUpdateBrowserControls();
|
| }
|
|
|
| +void ChromeClientImpl::SetScrollBoundaryBehavior(
|
| + const WebScrollBoundaryBehavior& scroll_boundary_behavior) {
|
| + web_view_->SetScrollBoundaryBehavior(scroll_boundary_behavior);
|
| +}
|
| +
|
| CompositorWorkerProxyClient*
|
| ChromeClientImpl::CreateCompositorWorkerProxyClient(LocalFrame* frame) {
|
| WebLocalFrameImpl* web_frame = WebLocalFrameImpl::FromFrame(frame);
|
|
|