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 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 // could not be established. This could be because the IPC could not be created | 821 // could not be established. This could be because the IPC could not be created |
822 // for some weird reason, but more likely that the plugin failed to load or | 822 // for some weird reason, but more likely that the plugin failed to load or |
823 // initialize properly. | 823 // initialize properly. |
824 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, | 824 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, |
825 IPC::ChannelHandle /* handle */) | 825 IPC::ChannelHandle /* handle */) |
826 | 826 |
827 // Notify the renderer that the PPAPI channel gets ready in the plugin. | 827 // Notify the renderer that the PPAPI channel gets ready in the plugin. |
828 IPC_MESSAGE_CONTROL0(PpapiHostMsg_StartupInitializationComplete) | 828 IPC_MESSAGE_CONTROL0(PpapiHostMsg_StartupInitializationComplete) |
829 | 829 |
830 // Calls renderer to open a resource file for nacl_irt_open_resource(). | 830 // Calls renderer to open a resource file for nacl_irt_open_resource(). |
831 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiHostMsg_OpenResource, | 831 IPC_SYNC_MESSAGE_CONTROL1_3(PpapiHostMsg_OpenResource, |
832 std::string /* key */, | 832 std::string /* key */, |
833 ppapi::proxy::SerializedHandle /* fd */) | 833 ppapi::proxy::SerializedHandle /* fd */, |
| 834 uint64_t /* file_token_lo */, |
| 835 uint64_t /* file_token_hi */) |
834 | 836 |
835 // Logs the given message to the console of all instances. | 837 // Logs the given message to the console of all instances. |
836 IPC_MESSAGE_CONTROL4(PpapiHostMsg_LogWithSource, | 838 IPC_MESSAGE_CONTROL4(PpapiHostMsg_LogWithSource, |
837 PP_Instance /* instance */, | 839 PP_Instance /* instance */, |
838 int /* log_level */, | 840 int /* log_level */, |
839 std::string /* source */, | 841 std::string /* source */, |
840 std::string /* value */) | 842 std::string /* value */) |
841 | 843 |
842 // PPB_Audio. | 844 // PPB_Audio. |
843 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, | 845 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, |
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2241 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2243 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2242 PP_TalkPermission /* permission */) | 2244 PP_TalkPermission /* permission */) |
2243 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2245 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2244 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2246 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2245 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2247 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2246 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2248 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2247 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2249 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2248 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2250 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2249 | 2251 |
2250 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2252 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |