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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_scrollbar.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_scrollbar.srpc
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/ppb_scrollbar.srpc (revision 0)
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_scrollbar.srpc (revision 0)
@@ -0,0 +1,72 @@
+# 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_Scrollbar calls from the plugin.
+# See ppapi/c/dev/ppb_scrollbar_dev.h for interface details.
+{
+ 'name': 'PpbScrollbarRpc',
+ 'rpcs': [
+ {'name': 'PPB_Scrollbar_Create',
+ 'inputs': [['instance', 'PP_Instance'],
+ ['vertical', 'int32_t'], # PP_Bool
+ ],
+ 'outputs': [['scrollbar', 'PP_Resource'],
+ ]
+ },
+ {'name': 'PPB_Scrollbar_IsScrollbar',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['is_scrollbar', 'int32_t'], # PP_Bool
+ ]
+ },
+ {'name': 'PPB_Scrollbar_IsOverlay',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['is_overlay', 'int32_t'], # PP_Bool
+ ]
+ },
+ {'name': 'PPB_Scrollbar_GetThickness',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['thickness', 'int32_t'],
+ ]
+ },
+ {'name': 'PPB_Scrollbar_GetValue',
+ 'inputs': [['scrollbar', 'PP_Resource'],
+ ],
+ 'outputs': [['value', 'int32_t'], # uint32_t
+ ]
+ },
+ {'name': 'PPB_Scrollbar_SetValue',
+ 'inputs': [['scrollbar', 'PP_Resource'],
+ ['value', 'int32_t'], # uint32_t
+ ],
+ 'outputs': [
+ ]
+ },
+ {'name': 'PPB_Scrollbar_SetDocumentSize',
+ 'inputs': [['scrollbar', 'PP_Resource'],
+ ['size', 'int32_t'], # uint32_t
+ ],
+ 'outputs': [
+ ]
+ },
+ {'name': 'PPB_Scrollbar_SetTickMarks',
+ 'inputs': [['scrollbar', 'PP_Resource'],
+ ['tick_marks', 'char[]'], # PP_Rect
+ ['count', 'int32_t'], # uint32_t
+ ],
+ 'outputs': [
+ ]
+ },
+ {'name': 'PPB_Scrollbar_ScrollBy',
+ 'inputs': [['scrollbar', 'PP_Resource'],
+ ['unit', 'int32_t'], # PP_ScrollBy_Dev
+ ['multiplier', 'int32_t'],
+ ],
+ 'outputs': [
+ ]
+ },
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698