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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" | 10 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 virtual uint32_t GetIMESegmentOffset(uint32_t index) = 0; | 42 virtual uint32_t GetIMESegmentOffset(uint32_t index) = 0; |
43 virtual int32_t GetIMETargetSegment() = 0; | 43 virtual int32_t GetIMETargetSegment() = 0; |
44 virtual void GetIMESelection(uint32_t* start, uint32_t* end) = 0; | 44 virtual void GetIMESelection(uint32_t* start, uint32_t* end) = 0; |
45 virtual void AddTouchPoint(PP_TouchListType list, | 45 virtual void AddTouchPoint(PP_TouchListType list, |
46 const PP_TouchPoint& point) = 0; | 46 const PP_TouchPoint& point) = 0; |
47 virtual uint32_t GetTouchCount(PP_TouchListType list) = 0; | 47 virtual uint32_t GetTouchCount(PP_TouchListType list) = 0; |
48 virtual PP_TouchPoint GetTouchByIndex(PP_TouchListType list, | 48 virtual PP_TouchPoint GetTouchByIndex(PP_TouchListType list, |
49 uint32_t index) = 0; | 49 uint32_t index) = 0; |
50 virtual PP_TouchPoint GetTouchById(PP_TouchListType list, | 50 virtual PP_TouchPoint GetTouchById(PP_TouchListType list, |
51 uint32_t id) = 0; | 51 uint32_t id) = 0; |
| 52 virtual PP_FloatPoint GetTouchTiltByIndex(PP_TouchListType list, |
| 53 uint32_t index) = 0; |
| 54 |
| 55 virtual PP_FloatPoint GetTouchTiltById(PP_TouchListType list, |
| 56 uint32_t id) = 0; |
52 }; | 57 }; |
53 | 58 |
54 } // namespace thunk | 59 } // namespace thunk |
55 } // namespace ppapi | 60 } // namespace ppapi |
56 | 61 |
57 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ | 62 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ |
OLD | NEW |