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

Unified Diff: content/browser/renderer_host/input/touch_event_queue.cc

Issue 1645613007: Redefined the bit WebTouchEvent.causesScrollingIfUncanceled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed an aura unittest. Created 4 years, 10 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/browser/renderer_host/input/touch_event_queue.cc
diff --git a/content/browser/renderer_host/input/touch_event_queue.cc b/content/browser/renderer_host/input/touch_event_queue.cc
index a351dfd35b898fa5141f66816ab3eb3d2cf794a2..0e5b3cef6840f525d5a9fcefd014b0799645d67a 100644
--- a/content/browser/renderer_host/input/touch_event_queue.cc
+++ b/content/browser/renderer_host/input/touch_event_queue.cc
@@ -310,7 +310,7 @@ class TouchEventQueue::TouchMoveSlopSuppressor {
if (suppressing_touchmoves_) {
if (event.touchesLength > 1) {
suppressing_touchmoves_ = false;
- } else if (event.causesScrollingIfUncanceled) {
+ } else if (event.movedBeyondSlopRegion) {
suppressing_touchmoves_ = false;
} else {
// No sane slop region should be larger than 60 DIPs.

Powered by Google App Engine
This is Rietveld 408576698