| Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc
|
| ===================================================================
|
| --- ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc (revision 114869)
|
| +++ ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc (working copy)
|
| @@ -1452,7 +1452,7 @@
|
| NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_SetGetBuffer(
|
| NaClSrpcChannel* channel,
|
| PP_Resource resource_id,
|
| - int32_t transfer_buffer_id) {
|
| + int32_t shm_id) {
|
| VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
|
| ("%s: PPAPI calls are not supported off the main thread\n",
|
| __FUNCTION__));
|
| @@ -1461,7 +1461,7 @@
|
| channel,
|
| "PPB_Graphics3DTrusted_SetGetBuffer:ii:",
|
| resource_id,
|
| - transfer_buffer_id
|
| + shm_id
|
| );
|
| return retval;
|
| }
|
| @@ -2553,6 +2553,23 @@
|
| return retval;
|
| }
|
|
|
| +NaClSrpcError PpbTestingRpcClient::PPB_Testing_SimulateInputEvent(
|
| + NaClSrpcChannel* channel,
|
| + PP_Instance instance,
|
| + PP_Resource input_event) {
|
| + VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
|
| + ("%s: PPAPI calls are not supported off the main thread\n",
|
| + __FUNCTION__));
|
| + NaClSrpcError retval;
|
| + retval = NaClSrpcInvokeBySignature(
|
| + channel,
|
| + "PPB_Testing_SimulateInputEvent:ii:",
|
| + instance,
|
| + input_event
|
| + );
|
| + return retval;
|
| +}
|
| +
|
| NaClSrpcError PpbTestingRpcClient::PPB_Testing_GetDocumentURL(
|
| NaClSrpcChannel* channel,
|
| PP_Instance instance,
|
|
|