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

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

Issue 2890323002: Add tilt_x and tilt_y to ppapi touchpoint. (Closed)
Patch Set: Add tilt_x and tilt_y to ppapi touchpoint. Created 3 years, 7 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_public_stable.h ('k') | ppapi/thunk/ppb_input_event_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 <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
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_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_stable.h ('k') | ppapi/thunk/ppb_input_event_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698