Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Side by Side Diff: ppapi/thunk/ppb_input_event_api.h

Issue 252663002: Track plugin input event latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix win & mac build Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private.h ('k') | ppapi/thunk/ppb_input_event_private_thunk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private.h ('k') | ppapi/thunk/ppb_input_event_private_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698