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

Side by Side Diff: ppapi/api/ppb_input_event.idl

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 | « content/shell/test_runner/test_plugin.cc ('k') | ppapi/c/ppb_input_event.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 /** 6 /**
7 * This file defines the Input Event interfaces. 7 * This file defines the Input Event interfaces.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 * touch-end. If the plugin does register for touch events, then the synthetic 274 * touch-end. If the plugin does register for touch events, then the synthetic
275 * mouse events are not created. 275 * mouse events are not created.
276 */ 276 */
277 PP_INPUTEVENT_CLASS_TOUCH = 1 << 3, 277 PP_INPUTEVENT_CLASS_TOUCH = 1 << 3,
278 278
279 /** 279 /**
280 * Identifies IME composition input events. 280 * Identifies IME composition input events.
281 * 281 *
282 * Request this input event class if you allow on-the-spot IME input. 282 * Request this input event class if you allow on-the-spot IME input.
283 */ 283 */
284 PP_INPUTEVENT_CLASS_IME = 1 << 4 284 PP_INPUTEVENT_CLASS_IME = 1 << 4,
285
286 /**
287 * Identifies coalesced touch input events.
288 *
289 * Touch events are coalesced for each frame. By default, the coalesced touch
290 * events will be dropped. Request this input event class if you intend to
291 * handle all the touch events.
292 */
293 PP_INPUTEVENT_CLASS_COALESCED_TOUCH = 1 << 5
285 }; 294 };
286 295
287 /** 296 /**
288 * The <code>PPB_InputEvent</code> interface contains pointers to several 297 * The <code>PPB_InputEvent</code> interface contains pointers to several
289 * functions related to generic input events on the browser. 298 * functions related to generic input events on the browser.
290 */ 299 */
291 [version=1.0, macro="PPB_INPUT_EVENT_INTERFACE"] 300 [version=1.0, macro="PPB_INPUT_EVENT_INTERFACE"]
292 interface PPB_InputEvent { 301 interface PPB_InputEvent {
293 /** 302 /**
294 * RequestInputEvent() requests that input events corresponding to the given 303 * RequestInputEvent() requests that input events corresponding to the given
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 * event. 1085 * event.
1077 * 1086 *
1078 * @param[out] start The start position of the current selection. 1087 * @param[out] start The start position of the current selection.
1079 * 1088 *
1080 * @param[out] end The end position of the current selection. 1089 * @param[out] end The end position of the current selection.
1081 */ 1090 */
1082 void GetSelection([in] PP_Resource ime_event, 1091 void GetSelection([in] PP_Resource ime_event,
1083 [out] uint32_t start, 1092 [out] uint32_t start,
1084 [out] uint32_t end); 1093 [out] uint32_t end);
1085 }; 1094 };
OLDNEW
« no previous file with comments | « content/shell/test_runner/test_plugin.cc ('k') | ppapi/c/ppb_input_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698