| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_ |
| 6 #define PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_ | 6 #define PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 const PP_Point* mouse_position, | 124 const PP_Point* mouse_position, |
| 125 int32_t click_count, | 125 int32_t click_count, |
| 126 const PP_Point* mouse_movement); | 126 const PP_Point* mouse_movement); |
| 127 static PP_Resource CreateWheelInputEvent(ResourceObjectType type, | 127 static PP_Resource CreateWheelInputEvent(ResourceObjectType type, |
| 128 PP_Instance instance, | 128 PP_Instance instance, |
| 129 PP_TimeTicks time_stamp, | 129 PP_TimeTicks time_stamp, |
| 130 uint32_t modifiers, | 130 uint32_t modifiers, |
| 131 const PP_FloatPoint* wheel_delta, | 131 const PP_FloatPoint* wheel_delta, |
| 132 const PP_FloatPoint* wheel_ticks, | 132 const PP_FloatPoint* wheel_ticks, |
| 133 PP_Bool scroll_by_page); | 133 PP_Bool scroll_by_page); |
| 134 static PP_Resource CreateTouchInputEvent(ResourceObjectType type, |
| 135 PP_Instance instance, |
| 136 PP_InputEvent_Type event_type, |
| 137 PP_TimeTicks time_stamp, |
| 138 uint32_t modifiers); |
| 134 | 139 |
| 135 private: | 140 private: |
| 136 InputEventData data_; | 141 InputEventData data_; |
| 137 | 142 |
| 138 DISALLOW_IMPLICIT_CONSTRUCTORS(PPB_InputEvent_Shared); | 143 DISALLOW_IMPLICIT_CONSTRUCTORS(PPB_InputEvent_Shared); |
| 139 }; | 144 }; |
| 140 | 145 |
| 141 } // namespace ppapi | 146 } // namespace ppapi |
| 142 | 147 |
| 143 #endif // PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_ | 148 #endif // PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_ |
| OLD | NEW |