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 */) | |
1276 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, | 1260 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, |
1277 PP_Instance /* instance */, | 1261 PP_Instance /* instance */, |
1278 PP_Time /* t */, | 1262 PP_Time /* t */, |
1279 double /* offset */) | 1263 double /* offset */) |
1280 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost, | |
1281 PP_Instance /* instance */, | |
1282 PP_Rect /* rect */, | |
1283 PP_Bool /* result */) | |
1284 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetSetting, | 1264 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetSetting, |
1285 PP_Instance /* instance */, | 1265 PP_Instance /* instance */, |
1286 PP_FlashSetting /* setting */, | 1266 PP_FlashSetting /* setting */, |
1287 ppapi::proxy::SerializedVar /* result */) | 1267 ppapi::proxy::SerializedVar /* result */) |
1288 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, | 1268 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, |
1289 PP_Instance /* instance */) | 1269 PP_Instance /* instance */) |
1290 | 1270 |
1291 // PPB_Flash_DeviceID. | 1271 // PPB_Flash_DeviceID. |
1292 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashDeviceID_Get, | 1272 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashDeviceID_Get, |
1293 int32 /* routing_id */, | 1273 int32 /* routing_id */, |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1606 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) | 1586 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) |
1607 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) | 1587 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) |
1608 | 1588 |
1609 // Flash. | 1589 // Flash. |
1610 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) | 1590 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) |
1611 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) | 1591 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) |
1612 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) | 1592 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) |
1613 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, | 1593 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, |
1614 std::string /* proxy */) | 1594 std::string /* proxy */) |
1615 | 1595 |
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 // parmaters for drawing (including the resource to draw to) are contianed in | |
yzshen1
2012/12/12 19:09:31
parmaters -> parameters
raymes
2012/12/12 22:01:21
Done.
| |
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. An error code is | |
1618 // sent in a reply message indicating whether or not the rect is topmost. | |
yzshen1
2012/12/12 19:09:31
It would be good to comment on what error_codes in
raymes
2012/12/12 22:01:21
Done.
| |
1619 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_IsRectTopmost, | |
1620 PP_Rect /* rect */) | |
1621 | |
1616 // Device enumeration messages used by audio input and video capture. | 1622 // Device enumeration messages used by audio input and video capture. |
1617 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) | 1623 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) |
1618 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, | 1624 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, |
1619 std::vector<ppapi::DeviceRefData> /* devices */) | 1625 std::vector<ppapi::DeviceRefData> /* devices */) |
1620 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DeviceEnumeration_MonitorDeviceChange, | 1626 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DeviceEnumeration_MonitorDeviceChange, |
1621 uint32_t /* callback_id */) | 1627 uint32_t /* callback_id */) |
1622 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_StopMonitoringDeviceChange) | 1628 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_StopMonitoringDeviceChange) |
1623 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange, | 1629 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange, |
1624 uint32_t /* callback_id */, | 1630 uint32_t /* callback_id */, |
1625 std::vector<ppapi::DeviceRefData> /* devices */) | 1631 std::vector<ppapi::DeviceRefData> /* devices */) |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1728 std::vector<ppapi::HostResource> /* buffers */, | 1734 std::vector<ppapi::HostResource> /* buffers */, |
1729 uint32_t /* buffer_size */) | 1735 uint32_t /* buffer_size */) |
1730 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1736 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1731 uint32_t /* status */) | 1737 uint32_t /* status */) |
1732 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1738 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1733 uint32_t /* error */) | 1739 uint32_t /* error */) |
1734 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1740 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1735 uint32_t /* buffer */) | 1741 uint32_t /* buffer */) |
1736 | 1742 |
1737 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1743 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |