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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc

Issue 7715021: Add movement information to PPB_MouseInputEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 4 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: ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc
index f71aecb3c5b31cc0493868a66b343d8793376c6b..917f40c48567533516195e7e025c670f448f648e 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc
@@ -44,6 +44,8 @@ PP_Bool HandleInputEvent(PP_Instance instance, PP_Resource input_event) {
PPBMouseInputEventInterface()->GetPosition(input_event);
data.mouse_click_count =
PPBMouseInputEventInterface()->GetClickCount(input_event);
+ data.mouse_movement =
+ PPBMouseInputEventInterface()->GetMovement(input_event);
break;
// This event uses the PPB_WheelInputEvent interface.
case PP_INPUTEVENT_TYPE_WHEEL:

Powered by Google App Engine
This is Rietveld 408576698