Index: ppapi/c/ppb_input_event.h |
diff --git a/ppapi/c/ppb_input_event.h b/ppapi/c/ppb_input_event.h |
index 2eb288c84029e09efbcbab35c7aebf6463a2249c..e74074324c9667dd08cada01d7ecca6de4a336bb 100644 |
--- a/ppapi/c/ppb_input_event.h |
+++ b/ppapi/c/ppb_input_event.h |
@@ -144,7 +144,31 @@ typedef enum { |
* |
* 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 |
} PP_InputEvent_Type; |
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_InputEvent_Type, 4); |