| OLD | NEW |
| (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 PPB_CursorControl calls from the plugin. | |
| 6 # See ppapi/c/ppb_cursor_control_dev.h for interface details. | |
| 7 | |
| 8 { | |
| 9 'name': 'PpbCursorControlRpc', | |
| 10 'rpcs': [ | |
| 11 {'name': 'PPB_CursorControl_SetCursor', | |
| 12 'inputs': [['instance', 'PP_Instance'], # PP_Instance | |
| 13 ['type', 'int32_t'], # PP_CursorType_Dev | |
| 14 ['custom_image', 'PP_Resource'], # PP_Resource | |
| 15 ['hot_spot', 'char[]'], # PP_Point | |
| 16 ], | |
| 17 'outputs': [['success', 'int32_t'], # PP_Bool | |
| 18 ] | |
| 19 }, | |
| 20 {'name': 'PPB_CursorControl_LockCursor', | |
| 21 'inputs': [['instance', 'PP_Instance'], # PP_Instance | |
| 22 ], | |
| 23 'outputs': [['success', 'int32_t'], # PP_Bool | |
| 24 ] | |
| 25 }, | |
| 26 {'name': 'PPB_CursorControl_UnlockCursor', | |
| 27 'inputs': [['instance', 'PP_Instance'], # PP_Instance | |
| 28 ], | |
| 29 'outputs': [['success', 'int32_t'], # PP_Bool | |
| 30 ] | |
| 31 }, | |
| 32 {'name': 'PPB_CursorControl_HasCursorLock', | |
| 33 'inputs': [['instance', 'PP_Instance'], # PP_Instance | |
| 34 ], | |
| 35 'outputs': [['success', 'int32_t'], # PP_Bool | |
| 36 ] | |
| 37 }, | |
| 38 {'name': 'PPB_CursorControl_CanLockCursor', | |
| 39 'inputs': [['instance', 'PP_Instance'], # PP_Instance | |
| 40 ], | |
| 41 'outputs': [['success', 'int32_t'], # PP_Bool | |
| 42 ] | |
| 43 }, | |
| 44 ] | |
| 45 } | |
| OLD | NEW |