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

Unified Diff: ui/events/blink/input_handler_proxy.cc

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Rebase Created 3 years, 4 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
« no previous file with comments | « ui/events/blink/did_overscroll_params.h ('k') | ui/events/blink/input_handler_proxy_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/input_handler_proxy.cc
diff --git a/ui/events/blink/input_handler_proxy.cc b/ui/events/blink/input_handler_proxy.cc
index a55148697a0c43eb046604a6108a93e0f07fbaa3..e79247fd1c2f40901ea174b0e3988d455707bdac 100644
--- a/ui/events/blink/input_handler_proxy.cc
+++ b/ui/events/blink/input_handler_proxy.cc
@@ -1461,13 +1461,16 @@ void InputHandlerProxy::HandleOverscroll(
ToClientScrollIncrement(current_fling_velocity_);
current_overscroll_params_->causal_event_viewport_point =
gfx::PointF(causal_event_viewport_point);
+ current_overscroll_params_->scroll_boundary_behavior =
+ scroll_result.scroll_boundary_behavior;
return;
}
client_->DidOverscroll(scroll_result.accumulated_root_overscroll,
scroll_result.unused_scroll_delta,
ToClientScrollIncrement(current_fling_velocity_),
- gfx::PointF(causal_event_viewport_point));
+ gfx::PointF(causal_event_viewport_point),
+ scroll_result.scroll_boundary_behavior);
}
bool InputHandlerProxy::CancelCurrentFling() {
« no previous file with comments | « ui/events/blink/did_overscroll_params.h ('k') | ui/events/blink/input_handler_proxy_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698