Index: third_party/WebKit/Source/core/page/ChromeClientImpl.cpp |
diff --git a/third_party/WebKit/Source/core/page/ChromeClientImpl.cpp b/third_party/WebKit/Source/core/page/ChromeClientImpl.cpp |
index 129cb7f8c057665a41cef022e090f5d7806a9f4c..581b6b5b95381a5e0454d9d1ea6af1f40f815107 100644 |
--- a/third_party/WebKit/Source/core/page/ChromeClientImpl.cpp |
+++ b/third_party/WebKit/Source/core/page/ChromeClientImpl.cpp |
@@ -283,16 +283,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) { |
@@ -1059,6 +1061,11 @@ void ChromeClientImpl::DidUpdateBrowserControls() const { |
web_view_->DidUpdateBrowserControls(); |
} |
+void ChromeClientImpl::SetScrollBoundaryBehavior( |
+ const WebScrollBoundaryBehavior& scroll_boundary_behavior) { |
+ web_view_->SetScrollBoundaryBehavior(scroll_boundary_behavior); |
+} |
+ |
void ChromeClientImpl::RegisterPopupOpeningObserver( |
PopupOpeningObserver* observer) { |
DCHECK(observer); |