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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « ppapi/api/ppb_input_event.idl ('k') | third_party/WebKit/Source/core/events/TouchEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* From ppb_input_event.idl modified Thu Sep 1 12:40:05 2016. */ 6 /* From ppb_input_event.idl modified Wed Apr 26 13:40:13 2017. */
7 7
8 #ifndef PPAPI_C_PPB_INPUT_EVENT_H_ 8 #ifndef PPAPI_C_PPB_INPUT_EVENT_H_
9 #define PPAPI_C_PPB_INPUT_EVENT_H_ 9 #define PPAPI_C_PPB_INPUT_EVENT_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h" 13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_point.h" 14 #include "ppapi/c/pp_point.h"
15 #include "ppapi/c/pp_resource.h" 15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/pp_stdint.h" 16 #include "ppapi/c/pp_stdint.h"
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 * mouse-move for touch-move (with left-button down), and mouse-up for 283 * mouse-move for touch-move (with left-button down), and mouse-up for
284 * touch-end. If the plugin does register for touch events, then the synthetic 284 * touch-end. If the plugin does register for touch events, then the synthetic
285 * mouse events are not created. 285 * mouse events are not created.
286 */ 286 */
287 PP_INPUTEVENT_CLASS_TOUCH = 1 << 3, 287 PP_INPUTEVENT_CLASS_TOUCH = 1 << 3,
288 /** 288 /**
289 * Identifies IME composition input events. 289 * Identifies IME composition input events.
290 * 290 *
291 * Request this input event class if you allow on-the-spot IME input. 291 * Request this input event class if you allow on-the-spot IME input.
292 */ 292 */
293 PP_INPUTEVENT_CLASS_IME = 1 << 4 293 PP_INPUTEVENT_CLASS_IME = 1 << 4,
294 /**
295 * Identifies coalesced touch input events.
296 *
297 * Touch events are coalesced for each frame. By default, the coalesced touch
298 * events will be dropped. Request this input event class if you intend to
299 * handle all the touch events.
300 */
301 PP_INPUTEVENT_CLASS_COALESCED_TOUCH = 1 << 5
294 } PP_InputEvent_Class; 302 } PP_InputEvent_Class;
295 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_InputEvent_Class, 4); 303 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_InputEvent_Class, 4);
296 /** 304 /**
297 * @} 305 * @}
298 */ 306 */
299 307
300 /** 308 /**
301 * @addtogroup Interfaces 309 * @addtogroup Interfaces
302 * @{ 310 * @{
303 */ 311 */
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 void (*GetSelection)(PP_Resource ime_event, uint32_t* start, uint32_t* end); 1041 void (*GetSelection)(PP_Resource ime_event, uint32_t* start, uint32_t* end);
1034 }; 1042 };
1035 1043
1036 typedef struct PPB_IMEInputEvent_1_0 PPB_IMEInputEvent; 1044 typedef struct PPB_IMEInputEvent_1_0 PPB_IMEInputEvent;
1037 /** 1045 /**
1038 * @} 1046 * @}
1039 */ 1047 */
1040 1048
1041 #endif /* PPAPI_C_PPB_INPUT_EVENT_H_ */ 1049 #endif /* PPAPI_C_PPB_INPUT_EVENT_H_ */
1042 1050
OLDNEW
« no previous file with comments | « ppapi/api/ppb_input_event.idl ('k') | third_party/WebKit/Source/core/events/TouchEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698