| 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_Fullscreen interface. | 5 # RPC methods used to implement PPB_Fullscreen interface. |
| 6 # See ppapi/c/dev/ppb_fullscreen.h for interface details. | 6 # See ppapi/c/dev/ppb_fullscreen.h for interface details. |
| 7 { | 7 { |
| 8 'name': 'PpbFullscreenRpc', | 8 'name': 'PpbFullscreenRpc', |
| 9 'rpcs': [ | 9 'rpcs': [ |
| 10 {'name': 'PPB_Fullscreen_IsFullscreen', | |
| 11 'inputs': [['instance', 'PP_Instance'], # PP_Instance | |
| 12 ], | |
| 13 'outputs': [['success', 'int32_t'], # PP_Bool | |
| 14 ] | |
| 15 }, | |
| 16 {'name': 'PPB_Fullscreen_SetFullscreen', | 10 {'name': 'PPB_Fullscreen_SetFullscreen', |
| 17 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 11 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 18 ['fullscreen', 'int32_t'], # PP_Bool | 12 ['fullscreen', 'int32_t'], # PP_Bool |
| 19 ], | 13 ], |
| 20 'outputs': [['success', 'int32_t'], # PP_Bool | 14 'outputs': [['success', 'int32_t'], # PP_Bool |
| 21 ] | 15 ] |
| 22 }, | 16 }, |
| 23 {'name': 'PPB_Fullscreen_GetScreenSize', | 17 {'name': 'PPB_Fullscreen_GetScreenSize', |
| 24 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 18 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 25 ], | 19 ], |
| 26 'outputs': [['size', 'char[]'], # PP_Size* | 20 'outputs': [['size', 'char[]'], # PP_Size* |
| 27 ['success', 'int32_t'], # PP_Bool | 21 ['success', 'int32_t'], # PP_Bool |
| 28 ] | 22 ] |
| 29 }, | 23 }, |
| 30 ] | 24 ] |
| 31 } | 25 } |
| OLD | NEW |