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

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

Issue 171283002: Always reset touch action at the beginning of a new gesture sequence (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/input_router_impl.cc
diff --git a/content/browser/renderer_host/input/input_router_impl.cc b/content/browser/renderer_host/input/input_router_impl.cc
index b303acdb94cb21899d3042796cce2fe0c561ca98..6353714586e11f4c4d557d4f2d133e8f6202a11f 100644
--- a/content/browser/renderer_host/input/input_router_impl.cc
+++ b/content/browser/renderer_host/input/input_router_impl.cc
@@ -259,6 +259,8 @@ void InputRouterImpl::SendGestureEvent(
void InputRouterImpl::SendTouchEvent(
const TouchEventWithLatencyInfo& touch_event) {
+ if (WebInputEventTraits::IsNewTouchSequence(touch_event.event))
Rick Byers 2014/02/18 22:01:15 Doesn't this need to go in SendTouchEventImmediate
tdresser 2014/02/20 18:37:56 Done.
+ touch_action_filter_.StartNewTouchActionSequence();
touch_event_queue_->QueueEvent(touch_event);
}

Powered by Google App Engine
This is Rietveld 408576698