| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |