| 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 # RPC methods used to implement PPB_Instance interface. | 5 # RPC methods used to implement PPB_Instance interface. |
| 6 # See ppapi/c/ppb_instance.h for interface details. | 6 # See ppapi/c/ppb_instance.h for interface details. |
| 7 { | 7 { |
| 8 'name': 'PpbInstanceRpc', | 8 'name': 'PpbInstanceRpc', |
| 9 'rpcs': [ | 9 'rpcs': [ |
| 10 {'name': 'PPB_Instance_GetWindowObject', | 10 {'name': 'PPB_Instance_GetWindowObject', |
| 11 'inputs': [['instance', 'int64_t'], # PP_Instance | 11 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 12 ], | 12 ], |
| 13 'outputs': [['window', 'char[]'], # PP_Var | 13 'outputs': [['window', 'char[]'], # PP_Var |
| 14 ] | 14 ] |
| 15 }, | 15 }, |
| 16 {'name': 'PPB_Instance_GetOwnerElementObject', | 16 {'name': 'PPB_Instance_GetOwnerElementObject', |
| 17 'inputs': [['instance', 'int64_t'], # PP_Instance | 17 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 18 ], | 18 ], |
| 19 'outputs': [['owner', 'char[]'], # PP_Var | 19 'outputs': [['owner', 'char[]'], # PP_Var |
| 20 ] | 20 ] |
| 21 }, | 21 }, |
| 22 {'name': 'PPB_Instance_BindGraphics', | 22 {'name': 'PPB_Instance_BindGraphics', |
| 23 'inputs': [['instance', 'int64_t'], # PP_Instance | 23 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 24 ['graphics_device', 'int64_t'], # PP_Resource | 24 ['graphics_device', 'PP_Resource'], # PP_Resource |
| 25 ], | 25 ], |
| 26 'outputs': [['success', 'int32_t'], # PP_Bool | 26 'outputs': [['success', 'int32_t'], # PP_Bool |
| 27 ] | 27 ] |
| 28 }, | 28 }, |
| 29 {'name': 'PPB_Instance_IsFullFrame', | 29 {'name': 'PPB_Instance_IsFullFrame', |
| 30 'inputs': [['instance', 'int64_t'], # PP_Instance | 30 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 31 ], | 31 ], |
| 32 'outputs': [['is_full_frame', 'int32_t'], # PP_Bool | 32 'outputs': [['is_full_frame', 'int32_t'], # PP_Bool |
| 33 ] | 33 ] |
| 34 }, | 34 }, |
| 35 {'name': 'PPB_Instance_ExecuteScript', | 35 {'name': 'PPB_Instance_ExecuteScript', |
| 36 'inputs': [['instance', 'int64_t'], # PP_Instance | 36 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 37 ['script', 'char[]' ], # PP_Var | 37 ['script', 'char[]' ], # PP_Var |
| 38 ['exception_in', 'char[]'], # PP_Var* | 38 ['exception_in', 'char[]'], # PP_Var* |
| 39 ], | 39 ], |
| 40 'outputs': [['result', 'char[]'], # PP_Var | 40 'outputs': [['result', 'char[]'], # PP_Var |
| 41 ['exception', 'char[]'], # PP_Var* | 41 ['exception', 'char[]'], # PP_Var* |
| 42 ] | 42 ] |
| 43 }, | 43 }, |
| 44 ] | 44 ] |
| 45 } | 45 } |
| OLD | NEW |