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

Unified Diff: src/shared/ppapi_proxy/ppp_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 10 years 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 side-by-side diff with in-line comments
Download patch
Index: src/shared/ppapi_proxy/ppp_instance.srpc
===================================================================
--- src/shared/ppapi_proxy/ppp_instance.srpc (revision 4034)
+++ src/shared/ppapi_proxy/ppp_instance.srpc (working copy)
@@ -12,7 +12,7 @@
# action requested.
# Sets the instance's parameters.
{'name': 'PPP_Instance_DidCreate',
- 'inputs': [['instance', 'int64_t'], # PP_Instance
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
['argc', 'int32_t'], # uint32_t
['argn', 'char[]'], # char*[]
['argv', 'char[]'], # char*[]
@@ -22,13 +22,13 @@
},
# Deletes an instance of a plugin.
{'name': 'PPP_Instance_DidDestroy',
- 'inputs': [['instance', 'int64_t'], # PP_Instance
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
],
'outputs': []
},
# Changes the position, size, or clipping rectangle of the instance.
{'name': 'PPP_Instance_DidChangeView',
- 'inputs': [['instance', 'int64_t'], # PP_Instance
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
['position', 'int32_t[]'], # PP_Rect*
['clip', 'int32_t[]'], # PP_Rect*
],
@@ -36,14 +36,14 @@
},
# Processes a bool indicating that the instance gained or lost focus.
{'name': 'PPP_Instance_DidChangeFocus',
- 'inputs': [['instance', 'int64_t'], # PP_Instance
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
['has_focus', 'bool'], # PP_Bool
],
'outputs': []
},
# Processes an event sent to an instance.
{'name': 'PPP_Instance_HandleInputEvent',
- 'inputs': [['instance', 'int64_t'], # PP_Instance
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
['event_data', 'char[]'], # PP_InputEvent*
],
'outputs': [['success', 'int32_t'] # PP_Bool
@@ -51,15 +51,15 @@
},
# Passes URL information to a full-frame instance.
{'name': 'PPP_Instance_HandleDocumentLoad',
- 'inputs': [['instance', 'int64_t'], # PP_Instance
- ['url_loader', 'int64_t'], # PP_Resource
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ['url_loader', 'PP_Resource'], # PP_Resource
],
'outputs': [['success', 'int32_t'], # PP_Bool
]
},
# Gets the instance's scriptable object.
{'name': 'PPP_Instance_GetInstanceObject',
- 'inputs': [['instance', 'int64_t'], # PP_Instance
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
],
'outputs': [['capability', 'char[]'], # PP_Var
]

Powered by Google App Engine
This is Rietveld 408576698