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

Unified Diff: content/common/input/web_input_event_traits.h

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: Address rbyers' comments. 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/common/input/web_input_event_traits.h
diff --git a/content/common/input/web_input_event_traits.h b/content/common/input/web_input_event_traits.h
index 9751fc088cbfe34fcb0d9b0e4a663542fdd20980..3528fd3666df40177f8e6099670c486a6d45ca7f 100644
--- a/content/common/input/web_input_event_traits.h
+++ b/content/common/input/web_input_event_traits.h
@@ -23,6 +23,7 @@ class CONTENT_EXPORT WebInputEventTraits {
static void Coalesce(const blink::WebInputEvent& event_to_coalesce,
blink::WebInputEvent* event);
static bool IgnoresAckDisposition(blink::WebInputEvent::Type type);
+ static bool IsNewTouchSequence(const blink::WebTouchEvent& event);
jdduke (slow) 2014/02/21 15:45:33 I wonder if it's worth having a WebTouchEventTrait
tdresser 2014/02/21 19:14:03 Done.
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698