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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_mouse_cursor.srpc

Issue 9814015: Add new MouseCursor interface for setting the mouse cursor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_mouse_cursor.srpc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppb_mouse_cursor.srpc b/ppapi/native_client/src/shared/ppapi_proxy/ppb_mouse_cursor.srpc
new file mode 100644
index 0000000000000000000000000000000000000000..474e68b9ea4b88ae362b7d6c06c851eb750441d9
--- /dev/null
+++ b/ppapi/native_client/src/shared/ppapi_proxy/ppb_mouse_cursor.srpc
@@ -0,0 +1,20 @@
+# 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_MouseCursor calls from the plugin.
+
+{
+ 'name': 'PpbMouseCursorRpc',
+ 'rpcs': [
+ {'name': 'PPB_MouseCursor_SetCursor',
+ 'inputs': [['instance', 'PP_Instance'], # PP_Instance
+ ['type', 'int32_t'], # PP_MouseCursor_Type
+ ['custom_image', 'PP_Resource'], # PP_Resource
+ ['hot_spot', 'char[]'], # PP_Point
+ ],
+ 'outputs': [['success', 'int32_t'], # PP_Bool
+ ]
+ },
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698