Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(990)

Unified Diff: content/renderer/render_view_impl.cc

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Update the test Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 44f62f7fea9538cfd3073a4019aa1148fd36893c..356b2a95cc8e3f74ca1f8ec0d21e85763ff27fff 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1810,9 +1810,10 @@ void RenderViewImpl::DidOverscroll(
const blink::WebFloatSize& overscrollDelta,
const blink::WebFloatSize& accumulatedOverscroll,
const blink::WebFloatPoint& positionInViewport,
- const blink::WebFloatSize& velocityInViewport) {
+ const blink::WebFloatSize& velocityInViewport,
+ const blink::WebScrollBoundaryBehavior& behavior) {
RenderWidget::DidOverscroll(overscrollDelta, accumulatedOverscroll,
- positionInViewport, velocityInViewport);
+ positionInViewport, velocityInViewport, behavior);
}
void RenderViewImpl::HasTouchEventHandlers(bool has_handlers) {

Powered by Google App Engine
This is Rietveld 408576698