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

Unified Diff: ppapi/c/ppb_input_event.h

Issue 2844823002: Support Coalesced Touch in ppapi (Closed)
Patch Set: Support Coalesced Touch in ppapi 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/c/ppb_input_event.h
diff --git a/ppapi/c/ppb_input_event.h b/ppapi/c/ppb_input_event.h
index bd2c775e53bf2995f803a50d1680d0103085dd23..75e66e423b8eaaf14f3c03330c88abcdb270015f 100644
--- a/ppapi/c/ppb_input_event.h
+++ b/ppapi/c/ppb_input_event.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_input_event.idl modified Thu Sep 1 12:40:05 2016. */
+/* From ppb_input_event.idl modified Wed Apr 26 13:40:13 2017. */
#ifndef PPAPI_C_PPB_INPUT_EVENT_H_
#define PPAPI_C_PPB_INPUT_EVENT_H_
@@ -290,7 +290,15 @@ typedef enum {
*
* Request this input event class if you allow on-the-spot IME input.
*/
- PP_INPUTEVENT_CLASS_IME = 1 << 4
+ PP_INPUTEVENT_CLASS_IME = 1 << 4,
+ /**
+ * Identifies coalesced touch input events.
+ *
+ * Touch events are coalesced for each frame. By default, the coalesced touch
+ * events will be dropped. Request this input event class if you intend to
+ * handle all the touch events.
+ */
+ PP_INPUTEVENT_CLASS_COALESCED_TOUCH = 1 << 5
} PP_InputEvent_Class;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_InputEvent_Class, 4);
/**

Powered by Google App Engine
This is Rietveld 408576698