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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
958 PP_Instance /* instance */, | 958 PP_Instance /* instance */, |
959 PP_Bool /* result */) | 959 PP_Bool /* result */) |
960 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript, | 960 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript, |
961 PP_Instance /* instance */, | 961 PP_Instance /* instance */, |
962 ppapi::proxy::SerializedVar /* script */, | 962 ppapi::proxy::SerializedVar /* script */, |
963 ppapi::proxy::SerializedVar /* out_exception */, | 963 ppapi::proxy::SerializedVar /* out_exception */, |
964 ppapi::proxy::SerializedVar /* result */) | 964 ppapi::proxy::SerializedVar /* result */) |
965 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetDefaultCharSet, | 965 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetDefaultCharSet, |
966 PP_Instance /* instance */, | 966 PP_Instance /* instance */, |
967 ppapi::proxy::SerializedVar /* result */) | 967 ppapi::proxy::SerializedVar /* result */) |
968 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBInstance_GetFontFamilies, | |
969 std::string /* result */) | |
970 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_SetFullscreen, | 968 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_SetFullscreen, |
971 PP_Instance /* instance */, | 969 PP_Instance /* instance */, |
972 PP_Bool /* fullscreen */, | 970 PP_Bool /* fullscreen */, |
973 PP_Bool /* result */) | 971 PP_Bool /* result */) |
974 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBInstance_GetScreenSize, | 972 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBInstance_GetScreenSize, |
975 PP_Instance /* instance */, | 973 PP_Instance /* instance */, |
976 PP_Bool /* result */, | 974 PP_Bool /* result */, |
977 PP_Size /* size */) | 975 PP_Size /* size */) |
978 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_RequestInputEvents, | 976 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_RequestInputEvents, |
979 PP_Instance /* instance */, | 977 PP_Instance /* instance */, |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1358 uint32 /* server_socket_id */) | 1356 uint32 /* server_socket_id */) |
1359 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, | 1357 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, |
1360 uint32 /* socket_id */) | 1358 uint32 /* socket_id */) |
1361 | 1359 |
1362 // PPB_X509Certificate_Private | 1360 // PPB_X509Certificate_Private |
1363 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, | 1361 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, |
1364 std::vector<char> /* der */, | 1362 std::vector<char> /* der */, |
1365 bool /* succeeded */, | 1363 bool /* succeeded */, |
1366 ppapi::PPB_X509Certificate_Fields /* result */) | 1364 ppapi::PPB_X509Certificate_Fields /* result */) |
1367 | 1365 |
1368 #if !defined(OS_NACL) && !defined(NACL_WIN64) | |
1369 // PPB_Font. | |
1370 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | |
1371 std::string /* result */) | |
1372 | |
1373 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | |
1374 | |
1375 //----------------------------------------------------------------------------- | 1366 //----------------------------------------------------------------------------- |
1376 // Resource call/reply messages. | 1367 // Resource call/reply messages. |
1377 // | 1368 // |
1378 // These are the new-style resource implementations where the resource is only | 1369 // These are the new-style resource implementations where the resource is only |
1379 // implemented in the proxy and "resource messages" are sent between this and a | 1370 // implemented in the proxy and "resource messages" are sent between this and a |
1380 // host object. Resource messages are a wrapper around some general routing | 1371 // host object. Resource messages are a wrapper around some general routing |
1381 // information and a separate message of a type defined by the specific resource | 1372 // information and a separate message of a type defined by the specific resource |
1382 // sending/receiving it. The extra paremeters allow the nested message to be | 1373 // sending/receiving it. The extra paremeters allow the nested message to be |
1383 // routed automatically to the correct resource. | 1374 // routed automatically to the correct resource. |
1384 | 1375 |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1587 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, | 1578 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, |
1588 std::string /* device_id */, | 1579 std::string /* device_id */, |
1589 PP_AudioSampleRate /* sample_rate */, | 1580 PP_AudioSampleRate /* sample_rate */, |
1590 uint32_t /* sample_frame_count */) | 1581 uint32_t /* sample_frame_count */) |
1591 // Reply to an Open call. This supplies a socket handle and a shared memory | 1582 // Reply to an Open call. This supplies a socket handle and a shared memory |
1592 // handle. Both handles are passed in the ReplyParams struct. | 1583 // handle. Both handles are passed in the ReplyParams struct. |
1593 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) | 1584 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) |
1594 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) | 1585 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) |
1595 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) | 1586 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) |
1596 | 1587 |
1597 // Flash. | 1588 // BrowserFont ----------------------------------------------------------------- |
1589 | |
1590 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_Create) | |
1591 | |
1592 // Requests that the browser reply with the list of font families via | |
1593 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply. | |
1594 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies) | |
1595 | |
1596 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font | |
1597 // family list. | |
raymes
2012/12/17 00:08:29
nit: maybe add a note that it is encoded as a null
| |
1598 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply, | |
1599 std::string /* families */) | |
1600 | |
1601 // Flash ----------------------------------------------------------------------- | |
1602 | |
1598 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) | 1603 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) |
1599 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) | 1604 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) |
1600 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) | 1605 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) |
1601 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, | 1606 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, |
1602 std::string /* proxy */) | 1607 std::string /* proxy */) |
1603 | 1608 |
1604 // Device enumeration messages used by audio input and video capture. | 1609 // Device enumeration messages used by audio input and video capture. |
1605 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) | 1610 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) |
1606 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, | 1611 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, |
1607 std::vector<ppapi::DeviceRefData> /* devices */) | 1612 std::vector<ppapi::DeviceRefData> /* devices */) |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1716 std::vector<ppapi::HostResource> /* buffers */, | 1721 std::vector<ppapi::HostResource> /* buffers */, |
1717 uint32_t /* buffer_size */) | 1722 uint32_t /* buffer_size */) |
1718 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1723 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1719 uint32_t /* status */) | 1724 uint32_t /* status */) |
1720 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1725 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1721 uint32_t /* error */) | 1726 uint32_t /* error */) |
1722 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1727 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1723 uint32_t /* buffer */) | 1728 uint32_t /* buffer */) |
1724 | 1729 |
1725 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1730 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |