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

Unified Diff: content/common/input/touch_event_stream_validator.cc

Issue 916103002: Avoid sending touchmove events where all pointers are stationary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert TouchMove acks to NO_CONSUMER_EXISTS. Created 5 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/common/input/touch_event_stream_validator.cc
diff --git a/content/common/input/touch_event_stream_validator.cc b/content/common/input/touch_event_stream_validator.cc
index 324e47a6ffa05db80032c9d30426605334c8bc77..4c7598901dd2b1b145eeeaed55d014a5b956dc78 100644
--- a/content/common/input/touch_event_stream_validator.cc
+++ b/content/common/input/touch_event_stream_validator.cc
@@ -139,12 +139,6 @@ bool TouchEventStreamValidator::Validate(const WebTouchEvent& event,
break;
case WebTouchPoint::StateStationary:
- // TODO(jdduke): Remove this after implementing TouchMove events
- // filtering based on corrected touches state in TouchEventQueue,
- // crbug.com/452032.
- if (event.type == WebInputEvent::TouchMove)
- found_valid_state_for_type = true;
-
break;
case WebTouchPoint::StateCancelled:

Powered by Google App Engine
This is Rietveld 408576698