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 the PPB_InputEvent interface. |
| 6 # See ppapi/c/ppb_input_event.h for interface details. |
| 7 { |
| 8 'name': 'PpbInputEventRpc', |
| 9 'rpcs': [ |
| 10 {'name': 'PPB_InputEvent_RequestInputEvents', |
| 11 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 12 ['event_classes', 'int32_t'], # uint32_t, bitfield |
| 13 ['filtered', 'int32_t'] # bool |
| 14 ], |
| 15 'outputs': [['success', 'int32_t'], # pp_error value |
| 16 ] |
| 17 }, |
| 18 {'name': 'PPB_InputEvent_ClearInputEventRequest', |
| 19 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 20 ['event_classes', 'int32_t'] # uint32_t, bitfield |
| 21 ], |
| 22 'outputs': [] |
| 23 } |
| 24 ] |
| 25 } |
| 26 |
OLD | NEW |