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

Unified Diff: content/renderer/input/input_event_filter.cc

Issue 20045007: Use DidOverscrollParams in the browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase... Created 6 years, 8 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/input/input_event_filter.cc
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index c20879819119fe52605f76cbd25e0573ea8c5e45..469dd6303b25c9d921952b754cff80ed2676629b 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -71,10 +71,7 @@ void InputEventFilter::DidOverscroll(int routing_id,
if (!overscroll_notifications_enabled_)
return;
- // TODO(jdduke): Use |params| as the sole message argument, crbug/354444.
- SendMessage(ViewHostMsg_DidOverscroll(routing_id,
- params.accumulated_overscroll,
- params.current_fling_velocity));
+ SendMessage(ViewHostMsg_DidOverscroll(routing_id, params));
}
void InputEventFilter::DidStopFlinging(int routing_id) {

Powered by Google App Engine
This is Rietveld 408576698