| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # RPC methods used to implement PPB_Scrollbar calls from the plugin. | |
| 6 # See ppapi/c/dev/ppb_scrollbar_dev.h for interface details. | |
| 7 { | |
| 8 'name': 'PpbScrollbarRpc', | |
| 9 'rpcs': [ | |
| 10 {'name': 'PPB_Scrollbar_Create', | |
| 11 'inputs': [['instance', 'PP_Instance'], | |
| 12 ['vertical', 'int32_t'], # PP_Bool | |
| 13 ], | |
| 14 'outputs': [['scrollbar', 'PP_Resource'], | |
| 15 ] | |
| 16 }, | |
| 17 {'name': 'PPB_Scrollbar_IsScrollbar', | |
| 18 'inputs': [['resource', 'PP_Resource'], | |
| 19 ], | |
| 20 'outputs': [['is_scrollbar', 'int32_t'], # PP_Bool | |
| 21 ] | |
| 22 }, | |
| 23 {'name': 'PPB_Scrollbar_IsOverlay', | |
| 24 'inputs': [['resource', 'PP_Resource'], | |
| 25 ], | |
| 26 'outputs': [['is_overlay', 'int32_t'], # PP_Bool | |
| 27 ] | |
| 28 }, | |
| 29 {'name': 'PPB_Scrollbar_GetThickness', | |
| 30 'inputs': [['resource', 'PP_Resource'], | |
| 31 ], | |
| 32 'outputs': [['thickness', 'int32_t'], | |
| 33 ] | |
| 34 }, | |
| 35 {'name': 'PPB_Scrollbar_GetValue', | |
| 36 'inputs': [['scrollbar', 'PP_Resource'], | |
| 37 ], | |
| 38 'outputs': [['value', 'int32_t'], # uint32_t | |
| 39 ] | |
| 40 }, | |
| 41 {'name': 'PPB_Scrollbar_SetValue', | |
| 42 'inputs': [['scrollbar', 'PP_Resource'], | |
| 43 ['value', 'int32_t'], # uint32_t | |
| 44 ], | |
| 45 'outputs': [ | |
| 46 ] | |
| 47 }, | |
| 48 {'name': 'PPB_Scrollbar_SetDocumentSize', | |
| 49 'inputs': [['scrollbar', 'PP_Resource'], | |
| 50 ['size', 'int32_t'], # uint32_t | |
| 51 ], | |
| 52 'outputs': [ | |
| 53 ] | |
| 54 }, | |
| 55 {'name': 'PPB_Scrollbar_SetTickMarks', | |
| 56 'inputs': [['scrollbar', 'PP_Resource'], | |
| 57 ['tick_marks', 'char[]'], # PP_Rect | |
| 58 ['count', 'int32_t'], # uint32_t | |
| 59 ], | |
| 60 'outputs': [ | |
| 61 ] | |
| 62 }, | |
| 63 {'name': 'PPB_Scrollbar_ScrollBy', | |
| 64 'inputs': [['scrollbar', 'PP_Resource'], | |
| 65 ['unit', 'int32_t'], # PP_ScrollBy_Dev | |
| 66 ['multiplier', 'int32_t'], | |
| 67 ], | |
| 68 'outputs': [ | |
| 69 ] | |
| 70 }, | |
| 71 ] | |
| 72 } | |
| OLD | NEW |