| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_THUNK_PPB_INPUT_EVENT_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ |
| 6 #define PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ | 6 #define PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/ppb_input_event.h" | 8 #include "ppapi/c/ppb_input_event.h" |
| 9 #include "ppapi/thunk/ppapi_thunk_export.h" | 9 #include "ppapi/thunk/ppapi_thunk_export.h" |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 virtual uint32_t GetModifiers() = 0; | 27 virtual uint32_t GetModifiers() = 0; |
| 28 virtual PP_InputEvent_MouseButton GetMouseButton() = 0; | 28 virtual PP_InputEvent_MouseButton GetMouseButton() = 0; |
| 29 virtual PP_Point GetMousePosition() = 0; | 29 virtual PP_Point GetMousePosition() = 0; |
| 30 virtual int32_t GetMouseClickCount() = 0; | 30 virtual int32_t GetMouseClickCount() = 0; |
| 31 virtual PP_Point GetMouseMovement() = 0; | 31 virtual PP_Point GetMouseMovement() = 0; |
| 32 virtual PP_FloatPoint GetWheelDelta() = 0; | 32 virtual PP_FloatPoint GetWheelDelta() = 0; |
| 33 virtual PP_FloatPoint GetWheelTicks() = 0; | 33 virtual PP_FloatPoint GetWheelTicks() = 0; |
| 34 virtual PP_Bool GetWheelScrollByPage() = 0; | 34 virtual PP_Bool GetWheelScrollByPage() = 0; |
| 35 virtual uint32_t GetKeyCode() = 0; | 35 virtual uint32_t GetKeyCode() = 0; |
| 36 virtual PP_Var GetCharacterText() = 0; | 36 virtual PP_Var GetCharacterText() = 0; |
| 37 virtual void GetCompositionSegments(uint32_t**, uint32_t*) = 0; |
| 38 virtual int32_t GetCompositionTargetSegment() = 0; |
| 39 virtual void GetCompositionSelection(uint32_t*, uint32_t*) = 0; |
| 37 }; | 40 }; |
| 38 | 41 |
| 39 } // namespace thunk | 42 } // namespace thunk |
| 40 } // namespace ppapi | 43 } // namespace ppapi |
| 41 | 44 |
| 42 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ | 45 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ |
| OLD | NEW |