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

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 6697024: client-side wheel mouse support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index 09dbc48a54275f7c7445ea7852037b090e5cc859..5b99d6df7e84f9304fb36e2eba6edb2b86a06f45 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -206,6 +206,10 @@ bool ChromotingInstance::HandleInputEvent(const PP_InputEvent& event) {
pih->HandleMouseMoveEvent(event.u.mouse);
return true;
+ case PP_INPUTEVENT_TYPE_MOUSEWHEEL:
+ pih->HandleMouseWheelEvent(event.u.wheel);
+ return true;
+
case PP_INPUTEVENT_TYPE_CONTEXTMENU:
// We need to return true here or else we'll get a local (plugin) context
// menu instead of the mouseup event for the right click.

Powered by Google App Engine
This is Rietveld 408576698