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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/input_event_data.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/input_event_data.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/input_event_data.cc b/ppapi/native_client/src/shared/ppapi_proxy/input_event_data.cc
index d94ad247c4921acda1b6b5dabe204f4365710742..1d5b60c36cf888ef3031248d91577259bb1df8e5 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/input_event_data.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/input_event_data.cc
@@ -13,6 +13,7 @@ InputEventData::InputEventData()
mouse_button(PP_INPUTEVENT_MOUSEBUTTON_NONE),
mouse_click_count(0),
mouse_position(PP_MakePoint(0, 0)),
+ mouse_movement(PP_MakePoint(0, 0)),
wheel_delta(PP_MakeFloatPoint(0.0f, 0.0f)),
wheel_ticks(PP_MakeFloatPoint(0.0f, 0.0f)),
wheel_scroll_by_page(PP_FALSE),

Powered by Google App Engine
This is Rietveld 408576698