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

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
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..efedb6aaa5ec71bc8e9a5b0e2a5cf1bb1b38b9bf 100644
--- a/ppapi/thunk/ppb_input_event_api.h
+++ b/ppapi/thunk/ppb_input_event_api.h
@@ -7,6 +7,7 @@
#include "ppapi/c/dev/ppb_ime_input_event_dev.h"
#include "ppapi/c/dev/ppb_keyboard_input_event_dev.h"
+#include "ppapi/c/dev/ppb_touch_event_dev.h"
#include "ppapi/c/ppb_input_event.h"
#include "ppapi/thunk/ppapi_thunk_export.h"
@@ -42,6 +43,11 @@ 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 uint32_t GetTouchCount(PP_TouchListType list) = 0;
+ virtual PP_TouchPoint_Dev GetTouchByIndex(PP_TouchListType list,
+ uint32_t index) = 0;
+ virtual PP_TouchPoint_Dev GetTouchById(PP_TouchListType list,
+ uint32_t id) = 0;
};
} // namespace thunk

Powered by Google App Engine
This is Rietveld 408576698