| 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 11 matching lines...) Expand all Loading... |
| 22 'outputs': [] | 22 'outputs': [] |
| 23 }, | 23 }, |
| 24 {'name': 'PPB_InputEvent_CreateMouseInputEvent', | 24 {'name': 'PPB_InputEvent_CreateMouseInputEvent', |
| 25 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 25 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 26 ['type', 'int32_t'], # PP_InputEvent_Type | 26 ['type', 'int32_t'], # PP_InputEvent_Type |
| 27 ['time_stamp', 'double'], # PP_TimeTicks | 27 ['time_stamp', 'double'], # PP_TimeTicks |
| 28 ['modifiers', 'int32_t'], # uint32_t | 28 ['modifiers', 'int32_t'], # uint32_t |
| 29 ['mouse_button', 'int32_t'], # PP_InputEvent_MouseButton | 29 ['mouse_button', 'int32_t'], # PP_InputEvent_MouseButton |
| 30 ['mouse_position_x', 'int32_t'], # PP_Point.x | 30 ['mouse_position_x', 'int32_t'], # PP_Point.x |
| 31 ['mouse_position_y', 'int32_t'], # PP_Point.y | 31 ['mouse_position_y', 'int32_t'], # PP_Point.y |
| 32 ['click_count', 'int32_t'] | 32 ['click_count', 'int32_t'], |
| 33 ['mouse_movement_x', 'int32_t'], # PP_Point.x |
| 34 ['mouse_movement_y', 'int32_t'], # PP_Point.y |
| 33 ], | 35 ], |
| 34 'outputs': [['resource_id', 'PP_Resource']] | 36 'outputs': [['resource_id', 'PP_Resource']] |
| 35 }, | 37 }, |
| 36 {'name': 'PPB_InputEvent_CreateWheelInputEvent', | 38 {'name': 'PPB_InputEvent_CreateWheelInputEvent', |
| 37 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 39 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 38 ['time_stamp', 'double'], # PP_TimeTicks | 40 ['time_stamp', 'double'], # PP_TimeTicks |
| 39 ['modifiers', 'int32_t'], # uint32_t | 41 ['modifiers', 'int32_t'], # uint32_t |
| 40 ['wheel_delta_x', 'double'], # PP_FloatPoint.x | 42 ['wheel_delta_x', 'double'], # PP_FloatPoint.x |
| 41 ['wheel_delta_y', 'double'], # PP_FloatPoint.y | 43 ['wheel_delta_y', 'double'], # PP_FloatPoint.y |
| 42 ['wheel_ticks_x', 'double'], # PP_FloatPoint.x | 44 ['wheel_ticks_x', 'double'], # PP_FloatPoint.x |
| 43 ['wheel_ticks_y', 'double'], # PP_FloatPoint.y | 45 ['wheel_ticks_y', 'double'], # PP_FloatPoint.y |
| 44 ['scroll_by_page', 'int32_t'] # PP_Bool | 46 ['scroll_by_page', 'int32_t'] # PP_Bool |
| 45 ], | 47 ], |
| 46 'outputs': [['resource_id', 'PP_Resource']] | 48 'outputs': [['resource_id', 'PP_Resource']] |
| 47 }, | 49 }, |
| 48 {'name': 'PPB_InputEvent_CreateKeyboardInputEvent', | 50 {'name': 'PPB_InputEvent_CreateKeyboardInputEvent', |
| 49 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 51 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 50 ['type', 'int32_t'], # PP_InputEvent_Type | 52 ['type', 'int32_t'], # PP_InputEvent_Type |
| 51 ['time_stamp', 'double'], # PP_TimeTicks | 53 ['time_stamp', 'double'], # PP_TimeTicks |
| 52 ['modifiers', 'int32_t'], # uint32_t | 54 ['modifiers', 'int32_t'], # uint32_t |
| 53 ['key_code', 'int32_t'], # uint32_t | 55 ['key_code', 'int32_t'], # uint32_t |
| 54 ['character_text', 'char[]'] # String PP_Var | 56 ['character_text', 'char[]'] # String PP_Var |
| 55 ], | 57 ], |
| 56 'outputs': [['resource_id', 'PP_Resource']] | 58 'outputs': [['resource_id', 'PP_Resource']] |
| 57 } | 59 } |
| 58 | 60 |
| 59 ] | 61 ] |
| 60 } | 62 } |
| 61 | 63 |
| OLD | NEW |