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 <map> | 6 #include <map> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel | 749 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel |
750 // could not be established. This could be because the IPC could not be created | 750 // could not be established. This could be because the IPC could not be created |
751 // for some weird reason, but more likely that the plugin failed to load or | 751 // for some weird reason, but more likely that the plugin failed to load or |
752 // initialize properly. | 752 // initialize properly. |
753 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, | 753 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, |
754 IPC::ChannelHandle /* handle */) | 754 IPC::ChannelHandle /* handle */) |
755 | 755 |
756 // Notify the renderer that the PPAPI channel gets ready in the plugin. | 756 // Notify the renderer that the PPAPI channel gets ready in the plugin. |
757 IPC_MESSAGE_CONTROL0(PpapiHostMsg_StartupInitializationComplete); | 757 IPC_MESSAGE_CONTROL0(PpapiHostMsg_StartupInitializationComplete); |
758 | 758 |
| 759 // Calls renderer to open a resource file for nacl_irt_open_resource(). |
| 760 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiHostMsg_OpenResource, |
| 761 std::string /* key */, |
| 762 ppapi::proxy::SerializedHandle /* fd */) |
| 763 |
759 // Logs the given message to the console of all instances. | 764 // Logs the given message to the console of all instances. |
760 IPC_MESSAGE_CONTROL4(PpapiHostMsg_LogWithSource, | 765 IPC_MESSAGE_CONTROL4(PpapiHostMsg_LogWithSource, |
761 PP_Instance /* instance */, | 766 PP_Instance /* instance */, |
762 int /* log_level */, | 767 int /* log_level */, |
763 std::string /* source */, | 768 std::string /* source */, |
764 std::string /* value */) | 769 std::string /* value */) |
765 | 770 |
766 // PPB_Audio. | 771 // PPB_Audio. |
767 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, | 772 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, |
768 PP_Instance /* instance_id */, | 773 PP_Instance /* instance_id */, |
(...skipping 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2103 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2108 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2104 PP_TalkPermission /* permission */) | 2109 PP_TalkPermission /* permission */) |
2105 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2110 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2106 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2111 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2107 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2112 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2108 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2113 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2109 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2114 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2110 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2115 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2111 | 2116 |
2112 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2117 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |