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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_cursor_control.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/ppb_cursor_control.srpc
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/ppb_cursor_control.srpc (revision 0)
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_cursor_control.srpc (revision 0)
@@ -0,0 +1,45 @@
+# 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 PPB_CursorControl calls from the plugin.
+# See ppapi/c/ppb_cursor_control_dev.h for interface details.
+
+{
+ 'name': 'PpbCursorControlRpc',
+ 'rpcs': [
+ {'name': 'PPB_CursorControl_SetCursor',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ['type', 'int32_t'], # PP_CursorType_Dev
+ ['custom_image', 'PP_Resource'], # PP_Resource
+ ['hot_spot', 'char[]'], # PP_Point
+ ],
+ 'outputs': [['success', 'int32_t'], # PP_Bool
+ ]
+ },
+ {'name': 'PPB_CursorControl_LockCursor',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ],
+ 'outputs': [['success', 'int32_t'], # PP_Bool
+ ]
+ },
+ {'name': 'PPB_CursorControl_UnlockCursor',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ],
+ 'outputs': [['success', 'int32_t'], # PP_Bool
+ ]
+ },
+ {'name': 'PPB_CursorControl_HasCursorLock',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ],
+ 'outputs': [['success', 'int32_t'], # PP_Bool
+ ]
+ },
+ {'name': 'PPB_CursorControl_CanLockCursor',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ],
+ 'outputs': [['success', 'int32_t'], # PP_Bool
+ ]
+ },
+ ]
+}
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/ppb_core.srpc ('k') | ppapi/native_client/src/shared/ppapi_proxy/ppb_file_io.srpc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698