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

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: Removed comments for the 1.0 interface. 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/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 b5411dd00495942442884dae957518e1f0d2801a..59cb0b9fc46c2e89f499faa0d0007ef03abe8575 100644
--- a/ppapi/shared_impl/input_event_impl.h
+++ b/ppapi/shared_impl/input_event_impl.h
@@ -30,6 +30,7 @@ struct 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;
@@ -54,6 +55,7 @@ class InputEventImpl : public thunk::PPB_InputEvent_API {
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;

Powered by Google App Engine
This is Rietveld 408576698