| OLD | NEW |
| 1 // Copyright 2011 The Native Client Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can | 2 // Use of this source code is governed by a BSD-style license that can |
| 3 // be found in the LICENSE file. | 3 // be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "native_client/src/shared/ppapi_proxy/input_event_data.h" | 5 #include "native_client/src/shared/ppapi_proxy/input_event_data.h" |
| 6 | 6 |
| 7 namespace ppapi_proxy { | 7 namespace ppapi_proxy { |
| 8 | 8 |
| 9 InputEventData::InputEventData() | 9 InputEventData::InputEventData() |
| 10 : event_type(PP_INPUTEVENT_TYPE_UNDEFINED), | 10 : event_type(PP_INPUTEVENT_TYPE_UNDEFINED), |
| 11 event_modifiers(0), | 11 event_modifiers(0), |
| 12 event_time_stamp(0.0), | 12 event_time_stamp(0.0), |
| 13 mouse_button(PP_INPUTEVENT_MOUSEBUTTON_NONE), | 13 mouse_button(PP_INPUTEVENT_MOUSEBUTTON_NONE), |
| 14 mouse_click_count(0), | 14 mouse_click_count(0), |
| 15 mouse_position(PP_MakePoint(0, 0)), | 15 mouse_position(PP_MakePoint(0, 0)), |
| 16 wheel_delta(PP_MakeFloatPoint(0.0f, 0.0f)), | 16 wheel_delta(PP_MakeFloatPoint(0.0f, 0.0f)), |
| 17 wheel_ticks(PP_MakeFloatPoint(0.0f, 0.0f)), | 17 wheel_ticks(PP_MakeFloatPoint(0.0f, 0.0f)), |
| 18 wheel_scroll_by_page(PP_FALSE), | 18 wheel_scroll_by_page(PP_FALSE), |
| 19 key_code(0) { | 19 key_code(0) { |
| 20 } | 20 } |
| 21 | 21 |
| 22 InputEventData::~InputEventData() { | 22 InputEventData::~InputEventData() { |
| 23 } | 23 } |
| 24 | 24 |
| 25 } // namespace ppapi_proxy | 25 } // namespace ppapi_proxy |
| OLD | NEW |