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