OLD | NEW |
1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
6 // | 6 // |
7 // Automatically generated code. See srpcgen.py | 7 // Automatically generated code. See srpcgen.py |
8 // | 8 // |
9 // NaCl Simple Remote Procedure Call interface abstractions. | 9 // NaCl Simple Remote Procedure Call interface abstractions. |
10 | 10 |
11 #include "untrusted/srpcgen/ppp_rpc.h" | 11 #include "untrusted/srpcgen/ppp_rpc.h" |
12 #ifdef __native_client__ | 12 #ifdef __native_client__ |
13 #ifndef UNREFERENCED_PARAMETER | 13 #ifndef UNREFERENCED_PARAMETER |
14 #define UNREFERENCED_PARAMETER(P) do { (void) P; } while (0) | 14 #define UNREFERENCED_PARAMETER(P) do { (void) P; } while (0) |
15 #endif // UNREFERENCED_PARAMETER | 15 #endif // UNREFERENCED_PARAMETER |
16 #else | 16 #else |
17 #include "native_client/src/include/portability.h" | 17 #include "native_client/src/include/portability.h" |
18 #endif // __native_client__ | 18 #endif // __native_client__ |
19 #include "native_client/src/shared/srpc/nacl_srpc.h" | 19 #include "native_client/src/shared/srpc/nacl_srpc.h" |
| 20 #include "ppapi/c/pp_instance.h" |
| 21 #include "ppapi/c/pp_module.h" |
| 22 #include "ppapi/c/pp_resource.h" |
20 | 23 |
21 namespace { | 24 namespace { |
22 | 25 |
23 static void HasPropertyDispatcher( | 26 static void HasPropertyDispatcher( |
24 NaClSrpcRpc* rpc, | 27 NaClSrpcRpc* rpc, |
25 NaClSrpcArg** inputs, | 28 NaClSrpcArg** inputs, |
26 NaClSrpcArg** outputs, | 29 NaClSrpcArg** outputs, |
27 NaClSrpcClosure* done | 30 NaClSrpcClosure* done |
28 ) { | 31 ) { |
29 UNREFERENCED_PARAMETER(done); | 32 UNREFERENCED_PARAMETER(done); |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 { "PPP_Instance_DidCreate:liCC:i", PPP_Instance_DidCreateDispatcher }, | 400 { "PPP_Instance_DidCreate:liCC:i", PPP_Instance_DidCreateDispatcher }, |
398 { "PPP_Instance_DidDestroy:l:", PPP_Instance_DidDestroyDispatcher }, | 401 { "PPP_Instance_DidDestroy:l:", PPP_Instance_DidDestroyDispatcher }, |
399 { "PPP_Instance_DidChangeView:lII:", PPP_Instance_DidChangeViewDispatcher }, | 402 { "PPP_Instance_DidChangeView:lII:", PPP_Instance_DidChangeViewDispatcher }, |
400 { "PPP_Instance_DidChangeFocus:lb:", PPP_Instance_DidChangeFocusDispatcher }, | 403 { "PPP_Instance_DidChangeFocus:lb:", PPP_Instance_DidChangeFocusDispatcher }, |
401 { "PPP_Instance_HandleInputEvent:lC:i", PPP_Instance_HandleInputEventDispatche
r }, | 404 { "PPP_Instance_HandleInputEvent:lC:i", PPP_Instance_HandleInputEventDispatche
r }, |
402 { "PPP_Instance_HandleDocumentLoad:ll:i", PPP_Instance_HandleDocumentLoadDispa
tcher }, | 405 { "PPP_Instance_HandleDocumentLoad:ll:i", PPP_Instance_HandleDocumentLoadDispa
tcher }, |
403 { "PPP_Instance_GetInstanceObject:l:C", PPP_Instance_GetInstanceObjectDispatch
er }, | 406 { "PPP_Instance_GetInstanceObject:l:C", PPP_Instance_GetInstanceObjectDispatch
er }, |
404 { NULL, NULL } | 407 { NULL, NULL } |
405 }; | 408 }; |
406 | 409 |
OLD | NEW |