| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 # | 4 # |
| 5 # RPC methods used to implement PPB_MouseLock_Dev calls from the plugin. | 5 # RPC methods used to implement PPB_MouseLock calls from the plugin. |
| 6 # See ppapi/c/dev/ppb_mouse_lock_dev.h for interface details. | 6 # See ppapi/c/ppb_mouse_lock.h for interface details. |
| 7 | 7 |
| 8 { | 8 { |
| 9 'name': 'PpbMouseLockRpc', | 9 'name': 'PpbMouseLockRpc', |
| 10 'rpcs': [ | 10 'rpcs': [ |
| 11 {'name': 'PPB_MouseLock_LockMouse', | 11 {'name': 'PPB_MouseLock_LockMouse', |
| 12 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 12 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 13 ['callback_id', 'int32_t'], # PP_CompletionCallback | 13 ['callback_id', 'int32_t'], # PP_CompletionCallback |
| 14 ], | 14 ], |
| 15 'outputs': [['pp_error', 'int32_t'], | 15 'outputs': [['pp_error', 'int32_t'], |
| 16 ] | 16 ] |
| 17 }, | 17 }, |
| 18 {'name': 'PPB_MouseLock_UnlockMouse', | 18 {'name': 'PPB_MouseLock_UnlockMouse', |
| 19 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 19 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 20 ], | 20 ], |
| 21 'outputs': [] | 21 'outputs': [] |
| 22 }, | 22 }, |
| 23 ] | 23 ] |
| 24 } | 24 } |
| OLD | NEW |