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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_input_event.srpc

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # RPC methods used to implement the PPB_InputEvent interface.
6 # See ppapi/c/ppb_input_event.h for interface details.
7 {
8 'name': 'PpbInputEventRpc',
9 'rpcs': [
10 {'name': 'PPB_InputEvent_RequestInputEvents',
11 'inputs': [['instance', 'PP_Instance'], # PP_Instance
12 ['event_classes', 'int32_t'], # uint32_t, bitfield
13 ['filtered', 'int32_t'] # bool
14 ],
15 'outputs': [['success', 'int32_t'], # pp_error value
16 ]
17 },
18 {'name': 'PPB_InputEvent_ClearInputEventRequest',
19 'inputs': [['instance', 'PP_Instance'], # PP_Instance
20 ['event_classes', 'int32_t'] # uint32_t, bitfield
21 ],
22 'outputs': []
23 },
24 {'name': 'PPB_InputEvent_CreateMouseInputEvent',
25 'inputs': [['instance', 'PP_Instance'], # PP_Instance
26 ['type', 'int32_t'], # PP_InputEvent_Type
27 ['time_stamp', 'double'], # PP_TimeTicks
28 ['modifiers', 'int32_t'], # uint32_t
29 ['mouse_button', 'int32_t'], # PP_InputEvent_MouseButton
30 ['mouse_position_x', 'int32_t'], # PP_Point.x
31 ['mouse_position_y', 'int32_t'], # PP_Point.y
32 ['click_count', 'int32_t']
33 ],
34 'outputs': [['resource_id', 'PP_Resource']]
35 },
36 {'name': 'PPB_InputEvent_CreateWheelInputEvent',
37 'inputs': [['instance', 'PP_Instance'], # PP_Instance
38 ['time_stamp', 'double'], # PP_TimeTicks
39 ['modifiers', 'int32_t'], # uint32_t
40 ['wheel_delta_x', 'double'], # PP_FloatPoint.x
41 ['wheel_delta_y', 'double'], # PP_FloatPoint.y
42 ['wheel_ticks_x', 'double'], # PP_FloatPoint.x
43 ['wheel_ticks_y', 'double'], # PP_FloatPoint.y
44 ['scroll_by_page', 'int32_t'] # PP_Bool
45 ],
46 'outputs': [['resource_id', 'PP_Resource']]
47 },
48 {'name': 'PPB_InputEvent_CreateKeyboardInputEvent',
49 'inputs': [['instance', 'PP_Instance'], # PP_Instance
50 ['type', 'int32_t'], # PP_InputEvent_Type
51 ['time_stamp', 'double'], # PP_TimeTicks
52 ['modifiers', 'int32_t'], # uint32_t
53 ['key_code', 'int32_t'], # uint32_t
54 ['character_text', 'char[]'] # String PP_Var
55 ],
56 'outputs': [['resource_id', 'PP_Resource']]
57 }
58
59 ]
60 }
61
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698