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