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 |