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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/ppp_instance.srpc
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/ppp_instance.srpc (revision 0)
+++ ppapi/native_client/src/shared/ppapi_proxy/ppp_instance.srpc (revision 0)
@@ -0,0 +1,53 @@
+# Copyright (c) 2011 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# RPC methods used to implement PPP_Instance interface.
+# See ppapi/c/ppp_instance.h for interface details.
+{
+ 'name': 'PppInstanceRpc',
+ 'rpcs': [
+ # Generic comment: PPAPI uses Did... apparently to indicate that the
+ # return value indicates the plugin successfully responded to the
+ # action requested.
+ # Sets the instance's parameters.
+ {'name': 'PPP_Instance_DidCreate',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ['argc', 'int32_t'], # uint32_t
+ ['argn', 'char[]'], # char*[]
+ ['argv', 'char[]'], # char*[]
+ ],
+ 'outputs': [['success', 'int32_t'], # PP_Bool
+ ]
+ },
+ # Deletes an instance of a plugin.
+ {'name': 'PPP_Instance_DidDestroy',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ],
+ 'outputs': []
+ },
+ # Changes the position, size, or clipping rectangle of the instance.
+ {'name': 'PPP_Instance_DidChangeView',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ['position', 'int32_t[]'], # PP_Rect*
+ ['clip', 'int32_t[]'], # PP_Rect*
+ ],
+ 'outputs': []
+ },
+ # Processes a bool indicating that the instance gained or lost focus.
+ {'name': 'PPP_Instance_DidChangeFocus',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ['has_focus', 'bool'], # PP_Bool
+ ],
+ 'outputs': []
+ },
+ # Passes URL information to a full-frame instance.
+ {'name': 'PPP_Instance_HandleDocumentLoad',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ['url_loader', 'PP_Resource'], # PP_Resource
+ ],
+ 'outputs': [['success', 'int32_t'], # PP_Bool
+ ]
+ },
+ ]
+}
Property changes on: ppapi/native_client/src/shared/ppapi_proxy/ppp_instance.srpc
___________________________________________________________________
Added: svn:executable
+ *

Powered by Google App Engine
This is Rietveld 408576698