Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: src/shared/ppapi_proxy/ppp_rpc_server.cc

Issue 7395005: Proxy PPB_Input_Event, PPP_Input_Event, and associated IFs. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: copyright headers Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/shared/ppapi_proxy/ppp_rpc_client.cc ('k') | src/shared/ppapi_proxy/proxy_var.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/ppp_rpc_server.cc
diff --git a/src/shared/ppapi_proxy/ppp_rpc_server.cc b/src/shared/ppapi_proxy/ppp_rpc_server.cc
index b552eec474e7a5a605846b2eaddc921783d2bf6d..f023cdd697975550bc1afc8b6fd52faf46166d38 100644
--- a/src/shared/ppapi_proxy/ppp_rpc_server.cc
+++ b/src/shared/ppapi_proxy/ppp_rpc_server.cc
@@ -147,6 +147,23 @@ static void PPP_Find_StopFindDispatcher(
);
}
+static void PPP_InputEvent_HandleInputEventDispatcher(
+ NaClSrpcRpc* rpc,
+ NaClSrpcArg** inputs,
+ NaClSrpcArg** outputs,
+ NaClSrpcClosure* done
+) {
+ PppInputEventRpcServer::PPP_InputEvent_HandleInputEvent(
+ rpc,
+ done,
+ inputs[0]->u.ival,
+ inputs[1]->u.ival,
+ inputs[2]->u.count, inputs[2]->arrays.carr,
+ inputs[3]->u.count, inputs[3]->arrays.carr,
+ &(outputs[0]->u.ival)
+ );
+}
+
static void PPP_Instance_DidCreateDispatcher(
NaClSrpcRpc* rpc,
NaClSrpcArg** inputs,
@@ -388,6 +405,7 @@ NaClSrpcHandlerDesc PppRpcs::srpc_methods[] = {
{ "PPP_Find_StartFind:iCi:i", PPP_Find_StartFindDispatcher },
{ "PPP_Find_SelectFindResult:ii:", PPP_Find_SelectFindResultDispatcher },
{ "PPP_Find_StopFind:i:", PPP_Find_StopFindDispatcher },
+ { "PPP_InputEvent_HandleInputEvent:iiCC:i", PPP_InputEvent_HandleInputEventDispatcher },
{ "PPP_Instance_DidCreate:iiCC:i", PPP_Instance_DidCreateDispatcher },
{ "PPP_Instance_DidDestroy:i:", PPP_Instance_DidDestroyDispatcher },
{ "PPP_Instance_DidChangeView:iII:", PPP_Instance_DidChangeViewDispatcher },
« no previous file with comments | « src/shared/ppapi_proxy/ppp_rpc_client.cc ('k') | src/shared/ppapi_proxy/proxy_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698