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

Unified Diff: third_party/WebKit/Source/core/input/TouchEventManager.cpp

Issue 2701553002: Touchmoves should not be suppressed if the touchstart is consumed (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/core/input/TouchEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/TouchEventManager.cpp b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
index 149cff36bc908842d65b6dc63fe73d9b538f3a66..1e77f99e80a2656764b7b5086c1cabd4352d89de 100644
--- a/third_party/WebKit/Source/core/input/TouchEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
@@ -292,6 +292,11 @@ WebInputEventResult TouchEventManager::dispatchTouchEvents(
}
}
+ if (m_suppressingTouchmovesWithinSlop &&
+ eventResult != WebInputEventResult::NotHandled) {
mustaq 2017/02/16 17:06:26 This "!=NotHandled " applies only to touchstarts b
lanwei 2017/02/16 19:48:59 Done.
mustaq 2017/02/16 21:09:53 Let me clarify a bit: this condition is met only f
+ m_suppressingTouchmovesWithinSlop = false;
+ }
+
return eventResult;
}

Powered by Google App Engine
This is Rietveld 408576698