Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_cursor_control.srpc |
=================================================================== |
--- ppapi/native_client/src/shared/ppapi_proxy/ppb_cursor_control.srpc (revision 0) |
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_cursor_control.srpc (revision 0) |
@@ -0,0 +1,45 @@ |
+# Copyright (c) 2011 The Native Client Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+# |
+# RPC methods used to implement PPB_CursorControl calls from the plugin. |
+# See ppapi/c/ppb_cursor_control_dev.h for interface details. |
+ |
+{ |
+ 'name': 'PpbCursorControlRpc', |
+ 'rpcs': [ |
+ {'name': 'PPB_CursorControl_SetCursor', |
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
+ ['type', 'int32_t'], # PP_CursorType_Dev |
+ ['custom_image', 'PP_Resource'], # PP_Resource |
+ ['hot_spot', 'char[]'], # PP_Point |
+ ], |
+ 'outputs': [['success', 'int32_t'], # PP_Bool |
+ ] |
+ }, |
+ {'name': 'PPB_CursorControl_LockCursor', |
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
+ ], |
+ 'outputs': [['success', 'int32_t'], # PP_Bool |
+ ] |
+ }, |
+ {'name': 'PPB_CursorControl_UnlockCursor', |
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
+ ], |
+ 'outputs': [['success', 'int32_t'], # PP_Bool |
+ ] |
+ }, |
+ {'name': 'PPB_CursorControl_HasCursorLock', |
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
+ ], |
+ 'outputs': [['success', 'int32_t'], # PP_Bool |
+ ] |
+ }, |
+ {'name': 'PPB_CursorControl_CanLockCursor', |
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
+ ], |
+ 'outputs': [['success', 'int32_t'], # PP_Bool |
+ ] |
+ }, |
+ ] |
+} |