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

Unified Diff: ui/android/view_android.h

Issue 2770613002: Forward GenericMotionEvent to EventForwarder (Closed)
Patch Set: joystick back to content/ Created 3 years, 9 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/android/view_android.h
diff --git a/ui/android/view_android.h b/ui/android/view_android.h
index 18bd14094d927764f1bd79c0cecd5b1df3981468..a56603f07918aca97593093b27d079f549fe75be 100644
--- a/ui/android/view_android.h
+++ b/ui/android/view_android.h
@@ -163,6 +163,7 @@ class UI_ANDROID_EXPORT ViewAndroid {
bool OnTouchEvent(const MotionEventAndroid& event, bool for_touch_handle);
bool OnMouseEvent(const MotionEventAndroid& event);
+ bool OnMouseWheelEvent(const MotionEventAndroid& event);
void RemoveChild(ViewAndroid* child);
@@ -174,6 +175,8 @@ class UI_ANDROID_EXPORT ViewAndroid {
const MotionEventAndroid& event);
static bool SendMouseEventToClient(ViewClient* client,
const MotionEventAndroid& event);
+ static bool SendMouseWheelEventToClient(ViewClient* client,
+ const MotionEventAndroid& event);
bool has_event_forwarder() const { return !!event_forwarder_; }

Powered by Google App Engine
This is Rietveld 408576698