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

Unified Diff: sky/engine/core/frame/NewEventHandler.h

Issue 874823002: Move GestureEvent to NewEventDispatcher (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Build fixes Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/events/PointerEvent.cpp ('k') | sky/engine/core/frame/NewEventHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/NewEventHandler.h
diff --git a/sky/engine/core/frame/NewEventHandler.h b/sky/engine/core/frame/NewEventHandler.h
index 37165ded087e2eb42c882f5bfd1063b863027333..bcbb726af22d9a1781c07de0caf89c95dea8bdf6 100644
--- a/sky/engine/core/frame/NewEventHandler.h
+++ b/sky/engine/core/frame/NewEventHandler.h
@@ -14,6 +14,7 @@
namespace blink {
class LocalFrame;
+class WebGestureEvent;
class WebPointerEvent;
class NewEventHandler {
@@ -23,6 +24,7 @@ public:
~NewEventHandler();
bool handlePointerEvent(const WebPointerEvent&);
+ bool handleGestureEvent(const WebGestureEvent&);
private:
bool handlePointerDownEvent(const WebPointerEvent&);
@@ -30,6 +32,7 @@ private:
bool handlePointerMoveEvent(const WebPointerEvent&);
bool handlePointerCancelEvent(const WebPointerEvent&);
+ bool dispatchGestureEvent(Node& target, const WebGestureEvent& event);
bool dispatchPointerEvent(Node& target, const WebPointerEvent&);
bool dispatchClickEvent(Node& capturingTarget, const WebPointerEvent&);
« no previous file with comments | « sky/engine/core/events/PointerEvent.cpp ('k') | sky/engine/core/frame/NewEventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698