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

Unified Diff: ppapi/thunk/ppb_input_event_api.h

Issue 10543159: ppapi: Add support for touch events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/tests/all_cpp_includes.h ('k') | ppapi/thunk/ppb_input_event_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_input_event_api.h
diff --git a/ppapi/thunk/ppb_input_event_api.h b/ppapi/thunk/ppb_input_event_api.h
index eda6b8e981ff55396fef587ed4143227af101100..18bda799a8942f47ee4c453a4fa8eddf50bdbe9d 100644
--- a/ppapi/thunk/ppb_input_event_api.h
+++ b/ppapi/thunk/ppb_input_event_api.h
@@ -42,6 +42,13 @@ class PPAPI_THUNK_EXPORT PPB_InputEvent_API {
virtual uint32_t GetIMESegmentOffset(uint32_t index) = 0;
virtual int32_t GetIMETargetSegment() = 0;
virtual void GetIMESelection(uint32_t* start, uint32_t* end) = 0;
+ virtual void AddTouchPoint(PP_TouchListType list,
+ const PP_TouchPoint& point) = 0;
+ virtual uint32_t GetTouchCount(PP_TouchListType list) = 0;
+ virtual PP_TouchPoint GetTouchByIndex(PP_TouchListType list,
+ uint32_t index) = 0;
+ virtual PP_TouchPoint GetTouchById(PP_TouchListType list,
+ uint32_t id) = 0;
};
} // namespace thunk
« no previous file with comments | « ppapi/tests/all_cpp_includes.h ('k') | ppapi/thunk/ppb_input_event_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698