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_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/dev/ppb_ime_input_event_dev.h" | 8 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" |
9 #include "ppapi/c/ppb_input_event.h" | 9 #include "ppapi/c/ppb_input_event.h" |
10 #include "ppapi/thunk/ppapi_thunk_export.h" | 10 #include "ppapi/thunk/ppapi_thunk_export.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 virtual PP_Var GetCode() = 0; | 38 virtual PP_Var GetCode() = 0; |
39 virtual uint32_t GetIMESegmentNumber() = 0; | 39 virtual uint32_t GetIMESegmentNumber() = 0; |
40 virtual uint32_t GetIMESegmentOffset(uint32_t index) = 0; | 40 virtual uint32_t GetIMESegmentOffset(uint32_t index) = 0; |
41 virtual int32_t GetIMETargetSegment() = 0; | 41 virtual int32_t GetIMETargetSegment() = 0; |
42 virtual void GetIMESelection(uint32_t* start, uint32_t* end) = 0; | 42 virtual void GetIMESelection(uint32_t* start, uint32_t* end) = 0; |
43 virtual void AddTouchPoint(PP_TouchListType list, | 43 virtual void AddTouchPoint(PP_TouchListType list, |
44 const PP_TouchPoint& point) = 0; | 44 const PP_TouchPoint& point) = 0; |
45 virtual uint32_t GetTouchCount(PP_TouchListType list) = 0; | 45 virtual uint32_t GetTouchCount(PP_TouchListType list) = 0; |
46 virtual PP_TouchPoint GetTouchByIndex(PP_TouchListType list, | 46 virtual PP_TouchPoint GetTouchByIndex(PP_TouchListType list, |
47 uint32_t index) = 0; | 47 uint32_t index) = 0; |
48 virtual PP_TouchPoint GetTouchById(PP_TouchListType list, | 48 virtual PP_TouchPoint GetTouchById(PP_TouchListType list, uint32_t id) = 0; |
49 uint32_t id) = 0; | |
50 }; | 49 }; |
51 | 50 |
52 } // namespace thunk | 51 } // namespace thunk |
53 } // namespace ppapi | 52 } // namespace ppapi |
54 | 53 |
55 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ | 54 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ |
OLD | NEW |