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

Unified Diff: ui/aura/window_event_dispatcher.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/aura/window_event_dispatcher.h
diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h
index 6b1cadc54474e27e073b45397e3ac1c733c74347..62a48e596312168917c818ebadbee604da2efcb0 100644
--- a/ui/aura/window_event_dispatcher.h
+++ b/ui/aura/window_event_dispatcher.h
@@ -94,6 +94,12 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
Window* window,
ui::EventResult result);
+ // If a touch is given to the gesture recognizer, but is later
+ // determined to be invalid, it should be marked as invalid using this
+ // method. The invalid touch event must be the most recent touch
+ // event given to the gesture recognizer.
+ void IgnoreLastTouchEvent(Window* window);
+
// These methods are used to defer the processing of mouse/touch events
// related to resize. A client (typically a RenderWidgetHostViewAura) can call
// HoldPointerMoves when an resize is initiated and then ReleasePointerMoves

Powered by Google App Engine
This is Rietveld 408576698