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 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 // could not be established. This could be because the IPC could not be created | 833 // could not be established. This could be because the IPC could not be created |
834 // for some weird reason, but more likely that the plugin failed to load or | 834 // for some weird reason, but more likely that the plugin failed to load or |
835 // initialize properly. | 835 // initialize properly. |
836 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, | 836 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, |
837 IPC::ChannelHandle /* handle */) | 837 IPC::ChannelHandle /* handle */) |
838 | 838 |
839 // Notify the renderer that the PPAPI channel gets ready in the plugin. | 839 // Notify the renderer that the PPAPI channel gets ready in the plugin. |
840 IPC_MESSAGE_CONTROL0(PpapiHostMsg_StartupInitializationComplete) | 840 IPC_MESSAGE_CONTROL0(PpapiHostMsg_StartupInitializationComplete) |
841 | 841 |
842 // Calls renderer to open a resource file for nacl_irt_open_resource(). | 842 // Calls renderer to open a resource file for nacl_irt_open_resource(). |
843 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiHostMsg_OpenResource, | 843 IPC_SYNC_MESSAGE_CONTROL1_3(PpapiHostMsg_OpenResource, |
844 std::string /* key */, | 844 std::string /* key */, |
845 ppapi::proxy::SerializedHandle /* fd */) | 845 ppapi::proxy::SerializedHandle /* fd */, |
| 846 uint64_t /* file_token_lo */, |
| 847 uint64_t /* file_token_hi */) |
846 | 848 |
847 // Logs the given message to the console of all instances. | 849 // Logs the given message to the console of all instances. |
848 IPC_MESSAGE_CONTROL4(PpapiHostMsg_LogWithSource, | 850 IPC_MESSAGE_CONTROL4(PpapiHostMsg_LogWithSource, |
849 PP_Instance /* instance */, | 851 PP_Instance /* instance */, |
850 int /* log_level */, | 852 int /* log_level */, |
851 std::string /* source */, | 853 std::string /* source */, |
852 std::string /* value */) | 854 std::string /* value */) |
853 | 855 |
854 // PPB_Audio. | 856 // PPB_Audio. |
855 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, | 857 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, |
(...skipping 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2266 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2268 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2267 PP_TalkPermission /* permission */) | 2269 PP_TalkPermission /* permission */) |
2268 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2270 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2269 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2271 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2270 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2272 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2271 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2273 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2272 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2274 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2273 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2275 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2274 | 2276 |
2275 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2277 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |