| Index: ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_server.cc
|
| diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_server.cc
|
| index 5275ffb959ffd16744f989260201879ee2890173..adbe252433bfe82e86efe437ed44d668e8938a72 100644
|
| --- a/ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_server.cc
|
| +++ b/ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_server.cc
|
| @@ -284,6 +284,22 @@ static void PPP_Printing_QuerySupportedFormatsDispatcher(
|
| );
|
| }
|
|
|
| +static void PPP_Printing_IsScalingDisabledDispatcher(
|
| + NaClSrpcRpc* rpc,
|
| + NaClSrpcArg** inputs,
|
| + NaClSrpcArg** outputs,
|
| + NaClSrpcClosure* done
|
| +) {
|
| + bool out = outputs[0]->u.bval;
|
| + PppPrintingRpcServer::PPP_Printing_IsScalingDisabled(
|
| + rpc,
|
| + done,
|
| + inputs[0]->u.ival,
|
| + &out
|
| + );
|
| + outputs[0]->u.bval = out;
|
| +}
|
| +
|
| static void PPP_Printing_BeginDispatcher(
|
| NaClSrpcRpc* rpc,
|
| NaClSrpcArg** inputs,
|
| @@ -428,6 +444,7 @@ NaClSrpcHandlerDesc PppRpcs::srpc_methods[] = {
|
| { "PPP_Messaging_HandleMessage:iC:", PPP_Messaging_HandleMessageDispatcher },
|
| { "PPP_MouseLock_MouseLockLost:i:", PPP_MouseLock_MouseLockLostDispatcher },
|
| { "PPP_Printing_QuerySupportedFormats:i:i", PPP_Printing_QuerySupportedFormatsDispatcher },
|
| + { "PPP_Printing_IsScalingDisabled:i:b", PPP_Printing_IsScalingDisabledDispatcher },
|
| { "PPP_Printing_Begin:iC:i", PPP_Printing_BeginDispatcher },
|
| { "PPP_Printing_PrintPages:iCi:i", PPP_Printing_PrintPagesDispatcher },
|
| { "PPP_Printing_End:i:", PPP_Printing_EndDispatcher },
|
|
|