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

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

Issue 9353013: Add GetUsbKeyCode dev interface for Pepper key events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add GetUsbScanCode_Dev to Pepper/NaCl interface Created 8 years, 10 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
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 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 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 # RPC methods used to implement the PPB_InputEvent interface. 5 # RPC methods used to implement the PPB_InputEvent interface.
6 # See ppapi/c/ppb_input_event.h for interface details. 6 # See ppapi/c/ppb_input_event.h for interface details.
7 { 7 {
8 'name': 'PpbInputEventRpc', 8 'name': 'PpbInputEventRpc',
9 'rpcs': [ 9 'rpcs': [
10 {'name': 'PPB_InputEvent_RequestInputEvents', 10 {'name': 'PPB_InputEvent_RequestInputEvents',
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 ['scroll_by_page', 'int32_t'] # PP_Bool 46 ['scroll_by_page', 'int32_t'] # PP_Bool
47 ], 47 ],
48 'outputs': [['resource_id', 'PP_Resource']] 48 'outputs': [['resource_id', 'PP_Resource']]
49 }, 49 },
50 {'name': 'PPB_InputEvent_CreateKeyboardInputEvent', 50 {'name': 'PPB_InputEvent_CreateKeyboardInputEvent',
51 'inputs': [['instance', 'PP_Instance'], # PP_Instance 51 'inputs': [['instance', 'PP_Instance'], # PP_Instance
52 ['type', 'int32_t'], # PP_InputEvent_Type 52 ['type', 'int32_t'], # PP_InputEvent_Type
53 ['time_stamp', 'double'], # PP_TimeTicks 53 ['time_stamp', 'double'], # PP_TimeTicks
54 ['modifiers', 'int32_t'], # uint32_t 54 ['modifiers', 'int32_t'], # uint32_t
55 ['key_code', 'int32_t'], # uint32_t 55 ['key_code', 'int32_t'], # uint32_t
56 ['usb_scan_code', 'int32_t'], # uint32_t
56 ['character_text', 'char[]'] # String PP_Var 57 ['character_text', 'char[]'] # String PP_Var
57 ], 58 ],
58 'outputs': [['resource_id', 'PP_Resource']] 59 'outputs': [['resource_id', 'PP_Resource']]
59 } 60 }
60 61
61 ] 62 ]
62 } 63 }
63 64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698