| 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 11 matching lines...) Expand all Loading... |
| 22 }, | 22 }, |
| 23 # Deletes an instance of a plugin. | 23 # Deletes an instance of a plugin. |
| 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 ['resource', 'PP_Resource'], # PP_Resource |
| 33 ['clip', 'int32_t[]'], # PP_Rect* | 33 ['view_data', 'char[]'], # ViewData |
| 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 | |
| 37 ], | 34 ], |
| 38 'outputs': [] | 35 'outputs': [] |
| 39 }, | 36 }, |
| 40 # Processes a bool indicating that the instance gained or lost focus. | 37 # Processes a bool indicating that the instance gained or lost focus. |
| 41 {'name': 'PPP_Instance_DidChangeFocus', | 38 {'name': 'PPP_Instance_DidChangeFocus', |
| 42 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 39 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 43 ['has_focus', 'bool'], # PP_Bool | 40 ['has_focus', 'bool'], # PP_Bool |
| 44 ], | 41 ], |
| 45 'outputs': [] | 42 'outputs': [] |
| 46 }, | 43 }, |
| 47 # Passes URL information to a full-frame instance. | 44 # Passes URL information to a full-frame instance. |
| 48 {'name': 'PPP_Instance_HandleDocumentLoad', | 45 {'name': 'PPP_Instance_HandleDocumentLoad', |
| 49 'inputs': [['instance', 'PP_Instance'], # PP_Instance | 46 'inputs': [['instance', 'PP_Instance'], # PP_Instance |
| 50 ['url_loader', 'PP_Resource'], # PP_Resource | 47 ['url_loader', 'PP_Resource'], # PP_Resource |
| 51 ], | 48 ], |
| 52 'outputs': [['success', 'int32_t'], # PP_Bool | 49 'outputs': [['success', 'int32_t'], # PP_Bool |
| 53 ] | 50 ] |
| 54 }, | 51 }, |
| 55 ] | 52 ] |
| 56 } | 53 } |
| OLD | NEW |