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

Unified Diff: ui/aura/window_event_dispatcher.h

Issue 551373006: Re-enable Eager Gesture Recognition on Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Whitespace. Created 6 years, 2 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: ui/aura/window_event_dispatcher.h
diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h
index a93c5d857a2cb19588f177b46f05d6f940267ca4..d46837bb34ddedf2e5d671d6d2684b301c83f39c 100644
--- a/ui/aura/window_event_dispatcher.h
+++ b/ui/aura/window_event_dispatcher.h
@@ -120,6 +120,10 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
// observer.
void OnPostNotifiedWindowDestroying(Window* window);
+ // Called when a Window wants to process a touch event asynchronously. Returns
+ // false if the event should not be forwarded.
+ virtual bool OnForwardingAsyncTouchEvent(ui::TouchEvent* event);
+
private:
FRIEND_TEST_ALL_PREFIXES(WindowEventDispatcherTest,
KeepTranslatedEventInRoot);

Powered by Google App Engine
This is Rietveld 408576698