| OLD | NEW |
| 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 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 | 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 PPP_Instance interface. | 5 # RPC methods used to implement PPP_Instance interface. |
| 6 # See ppapi/c/ppp_instance.h for interface details. | 6 # See ppapi/c/ppp_instance.h for interface details. |
| 7 { | 7 { |
| 8 'name': 'PppInstanceRpc', | 8 'name': 'PppInstanceRpc', |
| 9 'rpcs': [ | 9 'rpcs': [ |
| 10 # Generic comment: PPAPI uses Did... apparently to indicate that the | 10 # Generic comment: PPAPI uses Did... apparently to indicate that the |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 {'name': 'PPP_Instance_DidDestroy', | 24 {'name': 'PPP_Instance_DidDestroy', |
| 25 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 25 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 26 ], | 26 ], |
| 27 'outputs': [] | 27 'outputs': [] |
| 28 }, | 28 }, |
| 29 # Changes the position, size, or clipping rectangle of the instance. | 29 # Changes the position, size, or clipping rectangle of the instance. |
| 30 {'name': 'PPP_Instance_DidChangeView', | 30 {'name': 'PPP_Instance_DidChangeView', |
| 31 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 31 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 32 ['position', 'int32_t[]'], # PP_Rect* | 32 ['position', 'int32_t[]'], # PP_Rect* |
| 33 ['clip', 'int32_t[]'], # PP_Rect* | 33 ['clip', 'int32_t[]'], # PP_Rect* |
| 34 # This arg is not part of the API, but will help us |
| 35 # avoid unnecessary PPB_Fullscreen::IsFullscreen RPCs. |
| 36 ['is_fullscreen', 'int32_t' ] # PP_Bool |
| 34 ], | 37 ], |
| 35 'outputs': [] | 38 'outputs': [] |
| 36 }, | 39 }, |
| 37 # Processes a bool indicating that the instance gained or lost focus. | 40 # Processes a bool indicating that the instance gained or lost focus. |
| 38 {'name': 'PPP_Instance_DidChangeFocus', | 41 {'name': 'PPP_Instance_DidChangeFocus', |
| 39 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 42 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 40 ['has_focus', 'bool'], # PP_Bool | 43 ['has_focus', 'bool'], # PP_Bool |
| 41 ], | 44 ], |
| 42 'outputs': [] | 45 'outputs': [] |
| 43 }, | 46 }, |
| 44 # Passes URL information to a full-frame instance. | 47 # Passes URL information to a full-frame instance. |
| 45 {'name': 'PPP_Instance_HandleDocumentLoad', | 48 {'name': 'PPP_Instance_HandleDocumentLoad', |
| 46 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 49 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 47 ['url_loader', 'PP_Resource'], # PP_Resource | 50 ['url_loader', 'PP_Resource'], # PP_Resource |
| 48 ], | 51 ], |
| 49 'outputs': [['success', 'int32_t'], # PP_Bool | 52 'outputs': [['success', 'int32_t'], # PP_Bool |
| 50 ] | 53 ] |
| 51 }, | 54 }, |
| 52 ] | 55 ] |
| 53 } | 56 } |
| OLD | NEW |