| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| (...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1250 ppapi::HostResource /* video_decoder */, | 1250 ppapi::HostResource /* video_decoder */, |
| 1251 int32_t /* picture buffer id */) | 1251 int32_t /* picture buffer id */) |
| 1252 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1252 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
| 1253 ppapi::HostResource /* video_decoder */) | 1253 ppapi::HostResource /* video_decoder */) |
| 1254 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1254 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
| 1255 ppapi::HostResource /* video_decoder */) | 1255 ppapi::HostResource /* video_decoder */) |
| 1256 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1256 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
| 1257 ppapi::HostResource /* video_decoder */) | 1257 ppapi::HostResource /* video_decoder */) |
| 1258 | 1258 |
| 1259 // PPB_Flash. | 1259 // PPB_Flash. |
| 1260 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop, |
| 1261 PP_Instance /* instance */, |
| 1262 PP_Bool /* on_top */) |
| 1263 // This has to be synchronous becuase the caller may want to composite on |
| 1264 // top of the resulting text after the call is complete. |
| 1265 IPC_SYNC_MESSAGE_ROUTED2_1( |
| 1266 PpapiHostMsg_PPBFlash_DrawGlyphs, |
| 1267 PP_Instance /* instance */, |
| 1268 ppapi::proxy::PPBFlash_DrawGlyphs_Params /* params */, |
| 1269 PP_Bool /* result */) |
| 1270 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBFlash_Navigate, |
| 1271 PP_Instance /* instance */, |
| 1272 ppapi::URLRequestInfoData /* request_data */, |
| 1273 std::string /* target */, |
| 1274 PP_Bool /* from_user_action */, |
| 1275 int32_t /* result */) |
| 1260 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, | 1276 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, |
| 1261 PP_Instance /* instance */, | 1277 PP_Instance /* instance */, |
| 1262 PP_Time /* t */, | 1278 PP_Time /* t */, |
| 1263 double /* offset */) | 1279 double /* offset */) |
| 1280 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost, |
| 1281 PP_Instance /* instance */, |
| 1282 PP_Rect /* rect */, |
| 1283 PP_Bool /* result */) |
| 1264 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetSetting, | 1284 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetSetting, |
| 1265 PP_Instance /* instance */, | 1285 PP_Instance /* instance */, |
| 1266 PP_FlashSetting /* setting */, | 1286 PP_FlashSetting /* setting */, |
| 1267 ppapi::proxy::SerializedVar /* result */) | 1287 ppapi::proxy::SerializedVar /* result */) |
| 1268 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, | 1288 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, |
| 1269 PP_Instance /* instance */) | 1289 PP_Instance /* instance */) |
| 1270 | 1290 |
| 1271 // PPB_Flash_DeviceID. | 1291 // PPB_Flash_DeviceID. |
| 1272 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashDeviceID_Get, | 1292 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashDeviceID_Get, |
| 1273 int32 /* routing_id */, | 1293 int32 /* routing_id */, |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1586 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) | 1606 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) |
| 1587 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) | 1607 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) |
| 1588 | 1608 |
| 1589 // Flash. | 1609 // Flash. |
| 1590 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) | 1610 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) |
| 1591 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) | 1611 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) |
| 1592 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) | 1612 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) |
| 1593 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, | 1613 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, |
| 1594 std::string /* proxy */) | 1614 std::string /* proxy */) |
| 1595 | 1615 |
| 1596 // Notifies the renderer whether the Flash instance is in windowed mode. No | |
| 1597 // reply is sent. | |
| 1598 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_SetInstanceAlwaysOnTop, | |
| 1599 bool /* on_top */) | |
| 1600 | |
| 1601 // Notifies the renderer to draw text to the given PP_ImageData resource. All | |
| 1602 // parmeters for drawing (including the resource to draw to) are contianed in | |
| 1603 // the PPBFlash_DrawGlyphs_Params structure. An error code is sent in a reply | |
| 1604 // message indicating success. | |
| 1605 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_DrawGlyphs, | |
| 1606 ppapi::proxy::PPBFlash_DrawGlyphs_Params /* params */) | |
| 1607 | |
| 1608 // Notifies the renderer to navigate to the given URL contained in the | |
| 1609 // URLRequestInfoData. An error code is sent in a reply message indicating | |
| 1610 // success. | |
| 1611 IPC_MESSAGE_CONTROL3(PpapiHostMsg_Flash_Navigate, | |
| 1612 ppapi::URLRequestInfoData /* data */, | |
| 1613 std::string /* target */, | |
| 1614 bool /* from_user_action */) | |
| 1615 | |
| 1616 // Queries the renderer on whether the plugin instance is the topmost element | |
| 1617 // in the area of the instance specified by the given PP_Rect. PP_OK is sent as | |
| 1618 // the error code in a reply message if the rect is topmost otherwise | |
| 1619 // PP_ERROR_FAILED is sent. | |
| 1620 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_IsRectTopmost, | |
| 1621 PP_Rect /* rect */) | |
| 1622 | |
| 1623 // Device enumeration messages used by audio input and video capture. | 1616 // Device enumeration messages used by audio input and video capture. |
| 1624 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) | 1617 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) |
| 1625 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, | 1618 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, |
| 1626 std::vector<ppapi::DeviceRefData> /* devices */) | 1619 std::vector<ppapi::DeviceRefData> /* devices */) |
| 1627 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DeviceEnumeration_MonitorDeviceChange, | 1620 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DeviceEnumeration_MonitorDeviceChange, |
| 1628 uint32_t /* callback_id */) | 1621 uint32_t /* callback_id */) |
| 1629 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_StopMonitoringDeviceChange) | 1622 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_StopMonitoringDeviceChange) |
| 1630 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange, | 1623 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange, |
| 1631 uint32_t /* callback_id */, | 1624 uint32_t /* callback_id */, |
| 1632 std::vector<ppapi::DeviceRefData> /* devices */) | 1625 std::vector<ppapi::DeviceRefData> /* devices */) |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1735 std::vector<ppapi::HostResource> /* buffers */, | 1728 std::vector<ppapi::HostResource> /* buffers */, |
| 1736 uint32_t /* buffer_size */) | 1729 uint32_t /* buffer_size */) |
| 1737 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1730 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
| 1738 uint32_t /* status */) | 1731 uint32_t /* status */) |
| 1739 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1732 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
| 1740 uint32_t /* error */) | 1733 uint32_t /* error */) |
| 1741 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1734 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
| 1742 uint32_t /* buffer */) | 1735 uint32_t /* buffer */) |
| 1743 | 1736 |
| 1744 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1737 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |