| OLD | NEW |
| 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 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 | 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 # RPC methods used to implement PPB_Testing calls from the plugin. | 5 # RPC methods used to implement PPB_Testing calls from the plugin. |
| 6 # See ppapi/c/dev/ppb_testing_dev.h for interface details. | 6 # See ppapi/c/dev/ppb_testing_dev.h for interface details. |
| 7 { | 7 { |
| 8 'name': 'PpbTestingRpc', | 8 'name': 'PpbTestingRpc', |
| 9 'rpcs': [ | 9 'rpcs': [ |
| 10 {'name': 'PPB_Testing_ReadImageData', | 10 {'name': 'PPB_Testing_ReadImageData', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 ], | 26 ], |
| 27 'outputs': [ | 27 'outputs': [ |
| 28 ] | 28 ] |
| 29 }, | 29 }, |
| 30 {'name': 'PPB_Testing_GetLiveObjectsForInstance', | 30 {'name': 'PPB_Testing_GetLiveObjectsForInstance', |
| 31 'inputs': [['instance', 'PP_Instance'], | 31 'inputs': [['instance', 'PP_Instance'], |
| 32 ], | 32 ], |
| 33 'outputs': [['live_object_count', 'int32_t'], # uint32_t | 33 'outputs': [['live_object_count', 'int32_t'], # uint32_t |
| 34 ] | 34 ] |
| 35 }, | 35 }, |
| 36 {'name': 'PPB_Testing_SimulateInputEvent', |
| 37 'inputs': [['instance', 'PP_Instance'], |
| 38 ['input_event', 'PP_Resource'], |
| 39 ], |
| 40 'outputs': [ |
| 41 ] |
| 42 }, |
| 43 {'name': 'PPB_Testing_ExecuteScript', |
| 44 'inputs': [['instance', 'PP_Instance'], |
| 45 ['script', 'char[]'], # PP_Var |
| 46 ], |
| 47 'outputs': [['result', 'char[]'], # PP_Var |
| 48 ['exception', 'char[]'], # PP_Var |
| 49 ] |
| 50 } |
| 36 ] | 51 ] |
| 37 } | 52 } |
| OLD | NEW |