| 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 3b455b61b13c4c4f20b94331c1ecf812ad28861a..8dc653a8d3fbc581cbd292f6cc3cac0ff304a60d 100644
|
| --- a/ppapi/shared_impl/input_event_impl.cc
|
| +++ b/ppapi/shared_impl/input_event_impl.cc
|
| @@ -19,6 +19,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),
|
| @@ -75,6 +76,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;
|
| }
|
|
|