| Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc
|
| diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc b/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc
|
| index 477692dca07b7ac0ab9b25091ff1d0c3e43fe89f..860e91ca04e9a980875df8e8793b3d761dddc0c5 100644
|
| --- a/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc
|
| +++ b/ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc
|
| @@ -385,97 +385,6 @@ NaClSrpcError PpbCoreRpcClient::PPB_Core_CallOnMainThread(
|
| return retval;
|
| }
|
|
|
| -NaClSrpcError PpbCursorControlRpcClient::PPB_CursorControl_SetCursor(
|
| - NaClSrpcChannel* channel,
|
| - PP_Instance instance,
|
| - int32_t type,
|
| - PP_Resource custom_image,
|
| - nacl_abi_size_t hot_spot_bytes, char* hot_spot,
|
| - int32_t* success) {
|
| - VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
|
| - ("%s: PPAPI calls are not supported off the main thread\n",
|
| - __FUNCTION__));
|
| - NaClSrpcError retval;
|
| - retval = NaClSrpcInvokeBySignature(
|
| - channel,
|
| - "PPB_CursorControl_SetCursor:iiiC:i",
|
| - instance,
|
| - type,
|
| - custom_image,
|
| - hot_spot_bytes, hot_spot,
|
| - success
|
| - );
|
| - return retval;
|
| -}
|
| -
|
| -NaClSrpcError PpbCursorControlRpcClient::PPB_CursorControl_LockCursor(
|
| - NaClSrpcChannel* channel,
|
| - PP_Instance instance,
|
| - int32_t* success) {
|
| - VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
|
| - ("%s: PPAPI calls are not supported off the main thread\n",
|
| - __FUNCTION__));
|
| - NaClSrpcError retval;
|
| - retval = NaClSrpcInvokeBySignature(
|
| - channel,
|
| - "PPB_CursorControl_LockCursor:i:i",
|
| - instance,
|
| - success
|
| - );
|
| - return retval;
|
| -}
|
| -
|
| -NaClSrpcError PpbCursorControlRpcClient::PPB_CursorControl_UnlockCursor(
|
| - NaClSrpcChannel* channel,
|
| - PP_Instance instance,
|
| - int32_t* success) {
|
| - VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
|
| - ("%s: PPAPI calls are not supported off the main thread\n",
|
| - __FUNCTION__));
|
| - NaClSrpcError retval;
|
| - retval = NaClSrpcInvokeBySignature(
|
| - channel,
|
| - "PPB_CursorControl_UnlockCursor:i:i",
|
| - instance,
|
| - success
|
| - );
|
| - return retval;
|
| -}
|
| -
|
| -NaClSrpcError PpbCursorControlRpcClient::PPB_CursorControl_HasCursorLock(
|
| - NaClSrpcChannel* channel,
|
| - PP_Instance instance,
|
| - int32_t* success) {
|
| - VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
|
| - ("%s: PPAPI calls are not supported off the main thread\n",
|
| - __FUNCTION__));
|
| - NaClSrpcError retval;
|
| - retval = NaClSrpcInvokeBySignature(
|
| - channel,
|
| - "PPB_CursorControl_HasCursorLock:i:i",
|
| - instance,
|
| - success
|
| - );
|
| - return retval;
|
| -}
|
| -
|
| -NaClSrpcError PpbCursorControlRpcClient::PPB_CursorControl_CanLockCursor(
|
| - NaClSrpcChannel* channel,
|
| - PP_Instance instance,
|
| - int32_t* success) {
|
| - VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
|
| - ("%s: PPAPI calls are not supported off the main thread\n",
|
| - __FUNCTION__));
|
| - NaClSrpcError retval;
|
| - retval = NaClSrpcInvokeBySignature(
|
| - channel,
|
| - "PPB_CursorControl_CanLockCursor:i:i",
|
| - instance,
|
| - success
|
| - );
|
| - return retval;
|
| -}
|
| -
|
| NaClSrpcError PpbFileIORpcClient::PPB_FileIO_Create(
|
| NaClSrpcChannel* channel,
|
| PP_Instance instance,
|
| @@ -2047,6 +1956,29 @@ NaClSrpcError PpbMessagingRpcClient::PPB_Messaging_PostMessage(
|
| return retval;
|
| }
|
|
|
| +NaClSrpcError PpbMouseCursorRpcClient::PPB_MouseCursor_SetCursor(
|
| + NaClSrpcChannel* channel,
|
| + PP_Instance instance,
|
| + int32_t type,
|
| + PP_Resource custom_image,
|
| + nacl_abi_size_t hot_spot_bytes, char* hot_spot,
|
| + int32_t* success) {
|
| + VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
|
| + ("%s: PPAPI calls are not supported off the main thread\n",
|
| + __FUNCTION__));
|
| + NaClSrpcError retval;
|
| + retval = NaClSrpcInvokeBySignature(
|
| + channel,
|
| + "PPB_MouseCursor_SetCursor:iiiC:i",
|
| + instance,
|
| + type,
|
| + custom_image,
|
| + hot_spot_bytes, hot_spot,
|
| + success
|
| + );
|
| + return retval;
|
| +}
|
| +
|
| NaClSrpcError PpbMouseLockRpcClient::PPB_MouseLock_LockMouse(
|
| NaClSrpcChannel* channel,
|
| PP_Instance instance,
|
|
|