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 4dbecaca1c0a4a97dd6a9ee6224968d9585f0174..3f80bdf62c260d84f83824e04347b7fa69148104 100644 |
--- a/third_party/WebKit/Source/core/page/ChromeClientImpl.cpp |
+++ b/third_party/WebKit/Source/core/page/ChromeClientImpl.cpp |
@@ -284,16 +284,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) { |
@@ -1065,6 +1067,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); |