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

Unified Diff: ppapi/api/ppb_input_event.idl

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 | « no previous file | ppapi/c/dev/ppb_touch_event_dev.h » ('j') | ppapi/c/dev/ppb_touch_event_dev.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/ppb_input_event.idl
diff --git a/ppapi/api/ppb_input_event.idl b/ppapi/api/ppb_input_event.idl
index 76eb0916ab38b3deb0dfb77024b625002698cfc1..c541c50e1a5bf0de647ab573d2e27abe00e8ddf0 100644
--- a/ppapi/api/ppb_input_event.idl
+++ b/ppapi/api/ppb_input_event.idl
@@ -133,7 +133,35 @@ enum PP_InputEvent_Type {
*
* Register for this event using the PP_INPUTEVENT_CLASS_IME class.
*/
- PP_INPUTEVENT_TYPE_IME_TEXT = 14
+ PP_INPUTEVENT_TYPE_IME_TEXT = 14,
+
+ /**
+ * Notification that a finger was placed on a touch-enabled device.
+ *
+ * Register for this event using the PP_INPUTEVENT_CLASS_TOUCH class.
+ */
+ PP_INPUTEVENT_TYPE_TOUCHSTART = 15,
+
+ /**
+ * Notification that a finger was moved on a touch-enabled device.
+ *
+ * Register for this event using the PP_INPUTEVENT_CLASS_TOUCH class.
+ */
+ PP_INPUTEVENT_TYPE_TOUCHMOVE = 16,
+
+ /**
+ * Notification that a finger was released on a touch-enabled device.
+ *
+ * Register for this event using the PP_INPUTEVENT_CLASS_TOUCH class.
+ */
+ PP_INPUTEVENT_TYPE_TOUCHEND = 17,
+
+ /**
+ * Notification that a touch event was canceled.
+ *
+ * Register for this event using the PP_INPUTEVENT_CLASS_TOUCH class.
+ */
+ PP_INPUTEVENT_TYPE_TOUCHCANCEL = 18
};
/**
« no previous file with comments | « no previous file | ppapi/c/dev/ppb_touch_event_dev.h » ('j') | ppapi/c/dev/ppb_touch_event_dev.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698