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

Unified Diff: content/browser/renderer_host/overscroll_controller.cc

Issue 2356433003: Fix overscroll getting kicked in on non-precise wheel scrolls (Closed)
Patch Set: Remove useless check touch is always precise Created 4 years, 3 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 | « no previous file | content/browser/renderer_host/render_widget_host_view_aura_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/overscroll_controller.cc
diff --git a/content/browser/renderer_host/overscroll_controller.cc b/content/browser/renderer_host/overscroll_controller.cc
index 2f0630274351221f28e65152440792e188064304..746a7b59dc8d268060ae905d2d648a41f579e0b9 100644
--- a/content/browser/renderer_host/overscroll_controller.cc
+++ b/content/browser/renderer_host/overscroll_controller.cc
@@ -50,8 +50,6 @@ bool OverscrollController::ShouldProcessEvent(
case blink::WebInputEvent::GestureScrollEnd: {
const blink::WebGestureEvent& gesture =
static_cast<const blink::WebGestureEvent&>(event);
- if (gesture.sourceDevice == blink::WebGestureDeviceTouchpad)
- return true;
blink::WebGestureEvent::ScrollUnits scrollUnits;
switch (event.type) {
case blink::WebInputEvent::GestureScrollBegin:
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698