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

Unified Diff: ui/events/gestures/gesture_provider_aura.h

Issue 680413006: Re-enable Eager Gesture Recognition on Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix out of order ack problem. Created 6 years, 1 month 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: ui/events/gestures/gesture_provider_aura.h
diff --git a/ui/events/gestures/gesture_provider_aura.h b/ui/events/gestures/gesture_provider_aura.h
index daf853de25d45e4788a88510b0cdfd55c5261e7c..5352028b8a35516d7efc2cb1be5af7c13c135c1b 100644
--- a/ui/events/gestures/gesture_provider_aura.h
+++ b/ui/events/gestures/gesture_provider_aura.h
@@ -31,6 +31,9 @@ class EVENTS_EXPORT GestureProviderAura : public GestureProviderClient {
bool OnTouchEvent(const TouchEvent& event);
void OnTouchEventAck(bool event_consumed);
+ // Call if the most recent event passed to |OnTouchEvent| was
+ // invalid, to indicate that this event should be ignored.
+ void IgnoreLastTouchEvent();
const MotionEventAura& pointer_state() { return pointer_state_; }
ScopedVector<GestureEvent>* GetAndResetPendingGestures();

Powered by Google App Engine
This is Rietveld 408576698