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

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

Issue 876853005: Add wheel support to sky-scrollable (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add missing files 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/WheelEvent.idl ('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 3bd62ca28ed81ccecd51621575af8b6fdbdc9612..6dcba7d29eb1008cbb16523f47085263f36951fe 100644
--- a/sky/engine/core/frame/NewEventHandler.h
+++ b/sky/engine/core/frame/NewEventHandler.h
@@ -17,6 +17,7 @@ class LocalFrame;
class WebGestureEvent;
class WebKeyboardEvent;
class WebPointerEvent;
+class WebWheelEvent;
class NewEventHandler {
WTF_MAKE_NONCOPYABLE(NewEventHandler);
@@ -27,6 +28,7 @@ public:
bool handlePointerEvent(const WebPointerEvent&);
bool handleGestureEvent(const WebGestureEvent&);
bool handleKeyboardEvent(const WebKeyboardEvent&);
+ bool handleWheelEvent(const WebWheelEvent&);
private:
bool handlePointerDownEvent(const WebPointerEvent&);
@@ -38,6 +40,7 @@ private:
bool dispatchPointerEvent(Node& target, const WebPointerEvent&);
bool dispatchClickEvent(Node& capturingTarget, const WebPointerEvent&);
bool dispatchKeyboardEvent(Node& target, const WebKeyboardEvent& event);
+ bool dispatchWheelEvent(Node& target, const WebWheelEvent& event);
Node* targetForKeyboardEvent() const;
Node* targetForHitTestResult(const HitTestResult& hitTestResult);
« no previous file with comments | « sky/engine/core/events/WheelEvent.idl ('k') | sky/engine/core/frame/NewEventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698