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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/ppp_instance.srpc

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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
Property Changes:
Added: svn:executable
+ *
OLDNEW
(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 PPP_Instance interface.
6 # See ppapi/c/ppp_instance.h for interface details.
7 {
8 'name': 'PppInstanceRpc',
9 'rpcs': [
10 # Generic comment: PPAPI uses Did... apparently to indicate that the
11 # return value indicates the plugin successfully responded to the
12 # action requested.
13 # Sets the instance's parameters.
14 {'name': 'PPP_Instance_DidCreate',
15 'inputs': [['instance', 'PP_Instance'], # PP_Instance
16 ['argc', 'int32_t'], # uint32_t
17 ['argn', 'char[]'], # char*[]
18 ['argv', 'char[]'], # char*[]
19 ],
20 'outputs': [['success', 'int32_t'], # PP_Bool
21 ]
22 },
23 # Deletes an instance of a plugin.
24 {'name': 'PPP_Instance_DidDestroy',
25 'inputs': [['instance', 'PP_Instance'], # PP_Instance
26 ],
27 'outputs': []
28 },
29 # Changes the position, size, or clipping rectangle of the instance.
30 {'name': 'PPP_Instance_DidChangeView',
31 'inputs': [['instance', 'PP_Instance'], # PP_Instance
32 ['position', 'int32_t[]'], # PP_Rect*
33 ['clip', 'int32_t[]'], # PP_Rect*
34 ],
35 'outputs': []
36 },
37 # Processes a bool indicating that the instance gained or lost focus.
38 {'name': 'PPP_Instance_DidChangeFocus',
39 'inputs': [['instance', 'PP_Instance'], # PP_Instance
40 ['has_focus', 'bool'], # PP_Bool
41 ],
42 'outputs': []
43 },
44 # Passes URL information to a full-frame instance.
45 {'name': 'PPP_Instance_HandleDocumentLoad',
46 'inputs': [['instance', 'PP_Instance'], # PP_Instance
47 ['url_loader', 'PP_Resource'], # PP_Resource
48 ],
49 'outputs': [['success', 'int32_t'], # PP_Bool
50 ]
51 },
52 ]
53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698