Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1633)

Side by Side Diff: src/shared/ppapi_proxy/ppb_instance.srpc

Issue 5974006: Convert srpc definitions from using int64 to using PP_Instance, PP_Module, an... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
polina 2010/12/23 21:58:30 # PP_Instance/Resource comments can now be removed
noelallen_use_chromium 2010/12/23 22:23:23 Not sure that makes sense. Would be leave the PP_
polina 2010/12/23 22:33:14 It's up to us whether we want to always comment or
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
polina 2010/12/23 23:41:23 'outputs': [['success', 'PP_Bool'], # 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
polina 2010/12/23 23:41:23 'outputs': [['is_full_frame', 'PP_Bool'], # PP_Bo
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698