| 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 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1274 PP_Bool /* from_user_action */, | 1274 PP_Bool /* from_user_action */, |
| 1275 int32_t /* result */) | 1275 int32_t /* result */) |
| 1276 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, | 1276 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, |
| 1277 PP_Instance /* instance */, | 1277 PP_Instance /* instance */, |
| 1278 PP_Time /* t */, | 1278 PP_Time /* t */, |
| 1279 double /* offset */) | 1279 double /* offset */) |
| 1280 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost, | 1280 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost, |
| 1281 PP_Instance /* instance */, | 1281 PP_Instance /* instance */, |
| 1282 PP_Rect /* rect */, | 1282 PP_Rect /* rect */, |
| 1283 PP_Bool /* result */) | 1283 PP_Bool /* result */) |
| 1284 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetSetting, | |
| 1285 PP_Instance /* instance */, | |
| 1286 PP_FlashSetting /* setting */, | |
| 1287 ppapi::proxy::SerializedVar /* result */) | |
| 1288 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, | 1284 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, |
| 1289 PP_Instance /* instance */) | 1285 PP_Instance /* instance */) |
| 1290 | 1286 |
| 1291 // PPB_Flash_DeviceID. | 1287 // PPB_Flash_DeviceID. |
| 1292 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashDeviceID_Get, | 1288 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashDeviceID_Get, |
| 1293 int32 /* routing_id */, | 1289 int32 /* routing_id */, |
| 1294 PP_Resource /* resource */) | 1290 PP_Resource /* resource */) |
| 1295 | 1291 |
| 1296 // PPB_Flash_MessageLoop. | 1292 // PPB_Flash_MessageLoop. |
| 1297 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Create, | 1293 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Create, |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1599 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, | 1595 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, |
| 1600 std::string /* device_id */, | 1596 std::string /* device_id */, |
| 1601 PP_AudioSampleRate /* sample_rate */, | 1597 PP_AudioSampleRate /* sample_rate */, |
| 1602 uint32_t /* sample_frame_count */) | 1598 uint32_t /* sample_frame_count */) |
| 1603 // Reply to an Open call. This supplies a socket handle and a shared memory | 1599 // Reply to an Open call. This supplies a socket handle and a shared memory |
| 1604 // handle. Both handles are passed in the ReplyParams struct. | 1600 // handle. Both handles are passed in the ReplyParams struct. |
| 1605 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) | 1601 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) |
| 1606 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) | 1602 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) |
| 1607 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) | 1603 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) |
| 1608 | 1604 |
| 1609 // Flash. | 1605 // Flash ----------------------------------------------------------------------- |
| 1610 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) | 1606 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) |
| 1607 |
| 1608 // Message to notify the browser to register an update in system activity. |
| 1611 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) | 1609 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) |
| 1610 |
| 1611 // Query the browser for the proxy server to use for the given URL. |
| 1612 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) | 1612 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) |
| 1613 // Reply message for GetProxyForURL containing the proxy server. |
| 1613 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, | 1614 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, |
| 1614 std::string /* proxy */) | 1615 std::string /* proxy */) |
| 1615 | 1616 |
| 1617 // Query the browser for the restrictions on storing Flash LSOs. |
| 1618 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_GetLocalDataRestrictions) |
| 1619 // Reply message for GetLocalDataRestrictions containing the restrictions to |
| 1620 // use. These are PP_FlashLSORestrictions cast to an int32_t. |
| 1621 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetLocalDataRestrictionsReply, |
| 1622 int32_t /* restrictions */) |
| 1623 |
| 1624 // DeviceEnumeration ----------------------------------------------------------- |
| 1616 // Device enumeration messages used by audio input and video capture. | 1625 // Device enumeration messages used by audio input and video capture. |
| 1617 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) | 1626 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) |
| 1618 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, | 1627 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, |
| 1619 std::vector<ppapi::DeviceRefData> /* devices */) | 1628 std::vector<ppapi::DeviceRefData> /* devices */) |
| 1620 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DeviceEnumeration_MonitorDeviceChange, | 1629 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DeviceEnumeration_MonitorDeviceChange, |
| 1621 uint32_t /* callback_id */) | 1630 uint32_t /* callback_id */) |
| 1622 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_StopMonitoringDeviceChange) | 1631 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_StopMonitoringDeviceChange) |
| 1623 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange, | 1632 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange, |
| 1624 uint32_t /* callback_id */, | 1633 uint32_t /* callback_id */, |
| 1625 std::vector<ppapi::DeviceRefData> /* devices */) | 1634 std::vector<ppapi::DeviceRefData> /* devices */) |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1731 std::vector<ppapi::HostResource> /* buffers */, | 1740 std::vector<ppapi::HostResource> /* buffers */, |
| 1732 uint32_t /* buffer_size */) | 1741 uint32_t /* buffer_size */) |
| 1733 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1742 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
| 1734 uint32_t /* status */) | 1743 uint32_t /* status */) |
| 1735 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1744 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
| 1736 uint32_t /* error */) | 1745 uint32_t /* error */) |
| 1737 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1746 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
| 1738 uint32_t /* buffer */) | 1747 uint32_t /* buffer */) |
| 1739 | 1748 |
| 1740 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1749 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |