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 29 matching lines...) Expand all Loading... |
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, |
49 uint32_t id) = 0; | 49 uint32_t id) = 0; |
| 50 |
| 51 // Private API. |
| 52 virtual PP_Bool TraceInputLatency(PP_Bool has_damage) = 0; |
50 }; | 53 }; |
51 | 54 |
52 } // namespace thunk | 55 } // namespace thunk |
53 } // namespace ppapi | 56 } // namespace ppapi |
54 | 57 |
55 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ | 58 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ |
OLD | NEW |