Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_testing.srpc |
=================================================================== |
--- ppapi/native_client/src/shared/ppapi_proxy/ppb_testing.srpc (revision 0) |
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_testing.srpc (revision 0) |
@@ -0,0 +1,37 @@ |
+# Copyright (c) 2011 The Native Client Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# RPC methods used to implement PPB_Testing calls from the plugin. |
+# See ppapi/c/dev/ppb_testing_dev.h for interface details. |
+{ |
+ 'name': 'PpbTestingRpc', |
+ 'rpcs': [ |
+ {'name': 'PPB_Testing_ReadImageData', |
+ 'inputs': [['device_context_2d', 'PP_Resource'], |
+ ['image', 'PP_Resource'], |
+ ['top_left', 'char[]'], # PP_Point |
+ ], |
+ 'outputs': [['success', 'int32_t'], # PP_Bool |
+ ] |
+ }, |
+ {'name': 'PPB_Testing_RunMessageLoop', |
+ 'inputs': [['instance', 'PP_Instance'], |
+ ], |
+ 'outputs': [ |
+ ] |
+ }, |
+ {'name': 'PPB_Testing_QuitMessageLoop', |
+ 'inputs': [['instance', 'PP_Instance'], |
+ ], |
+ 'outputs': [ |
+ ] |
+ }, |
+ {'name': 'PPB_Testing_GetLiveObjectsForInstance', |
+ 'inputs': [['instance', 'PP_Instance'], |
+ ], |
+ 'outputs': [['live_object_count', 'int32_t'], # uint32_t |
+ ] |
+ }, |
+ ] |
+} |