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

Unified Diff: ppapi/shared_impl/input_event_impl.h

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
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | ppapi/shared_impl/input_event_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/input_event_impl.h
diff --git a/ppapi/shared_impl/input_event_impl.h b/ppapi/shared_impl/input_event_impl.h
index db6588b7d2bcc1c0330665971ec3046b3e22ad9b..fc7fb9217f6c63491d54efb49fbf7b4782095673 100644
--- a/ppapi/shared_impl/input_event_impl.h
+++ b/ppapi/shared_impl/input_event_impl.h
@@ -32,6 +32,7 @@ struct PPAPI_SHARED_EXPORT InputEventData {
PP_InputEvent_MouseButton mouse_button;
PP_Point mouse_position;
int32_t mouse_click_count;
+ PP_Point mouse_movement;
PP_FloatPoint wheel_delta;
PP_FloatPoint wheel_ticks;
@@ -71,6 +72,7 @@ class PPAPI_SHARED_EXPORT InputEventImpl
virtual PP_InputEvent_MouseButton GetMouseButton() OVERRIDE;
virtual PP_Point GetMousePosition() OVERRIDE;
virtual int32_t GetMouseClickCount() OVERRIDE;
+ virtual PP_Point GetMouseMovement() OVERRIDE;
virtual PP_FloatPoint GetWheelDelta() OVERRIDE;
virtual PP_FloatPoint GetWheelTicks() OVERRIDE;
virtual PP_Bool GetWheelScrollByPage() OVERRIDE;
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | ppapi/shared_impl/input_event_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698