| Index: ppapi/shared_impl/input_event_impl.cc
|
| diff --git a/ppapi/shared_impl/input_event_impl.cc b/ppapi/shared_impl/input_event_impl.cc
|
| index 599cfa1dce8a7bdcc7a96b9f89e05957b910e9b8..5d88991a7a76e9d494f62975cc69970d4cb30aeb 100644
|
| --- a/ppapi/shared_impl/input_event_impl.cc
|
| +++ b/ppapi/shared_impl/input_event_impl.cc
|
| @@ -14,6 +14,7 @@ InputEventData::InputEventData()
|
| mouse_button(PP_INPUTEVENT_MOUSEBUTTON_NONE),
|
| mouse_position(PP_MakePoint(0, 0)),
|
| mouse_click_count(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(false),
|
| @@ -55,6 +56,10 @@ int32_t InputEventImpl::GetMouseClickCount() {
|
| return data_.mouse_click_count;
|
| }
|
|
|
| +PP_Point InputEventImpl::GetMouseMovement() {
|
| + return data_.mouse_movement;
|
| +}
|
| +
|
| PP_FloatPoint InputEventImpl::GetWheelDelta() {
|
| return data_.wheel_delta;
|
| }
|
|
|