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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp

Issue 2669663002: Move touch slop suppression to TouchEventManager (Closed)
Patch Set: slop region Created 3 years, 11 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/inspector/InspectorInputAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
index 2bf479a072a93791897613e8fb58dd480a99df71..eeba23989538d42f54ca8ede6843702a914e4542 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
@@ -112,6 +112,7 @@ class SyntheticInspectorTouchEvent : public blink::WebTouchEvent {
m_type = type;
m_modifiers = modifiers;
m_timeStampSeconds = timestamp.InSeconds();
+ movedBeyondSlopRegion = true;
tdresser 2017/02/02 21:30:54 How does this value end up being used? Does it mat
lanwei 2017/02/03 21:39:33 Yes, inspector-protocol/input/dispatchTouchEvent.h
tdresser 2017/02/06 14:25:59 It's a bit weird that we're setting this on non-mo
}
void append(const blink::WebTouchPoint& point) {

Powered by Google App Engine
This is Rietveld 408576698