OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # RPC methods used to implement PPB_Testing calls from the plugin. |
| 6 # See ppapi/c/dev/ppb_testing_dev.h for interface details. |
| 7 { |
| 8 'name': 'PpbTestingRpc', |
| 9 'rpcs': [ |
| 10 {'name': 'PPB_Testing_ReadImageData', |
| 11 'inputs': [['device_context_2d', 'PP_Resource'], |
| 12 ['image', 'PP_Resource'], |
| 13 ['top_left', 'char[]'], # PP_Point |
| 14 ], |
| 15 'outputs': [['success', 'int32_t'], # PP_Bool |
| 16 ] |
| 17 }, |
| 18 {'name': 'PPB_Testing_RunMessageLoop', |
| 19 'inputs': [['instance', 'PP_Instance'], |
| 20 ], |
| 21 'outputs': [ |
| 22 ] |
| 23 }, |
| 24 {'name': 'PPB_Testing_QuitMessageLoop', |
| 25 'inputs': [['instance', 'PP_Instance'], |
| 26 ], |
| 27 'outputs': [ |
| 28 ] |
| 29 }, |
| 30 {'name': 'PPB_Testing_GetLiveObjectsForInstance', |
| 31 'inputs': [['instance', 'PP_Instance'], |
| 32 ], |
| 33 'outputs': [['live_object_count', 'int32_t'], # uint32_t |
| 34 ] |
| 35 }, |
| 36 ] |
| 37 } |
OLD | NEW |