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 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
723 PP_Picture_Dev /* output picture */) | 723 PP_Picture_Dev /* output picture */) |
724 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError, | 724 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError, |
725 ppapi::HostResource /* video_decoder */, | 725 ppapi::HostResource /* video_decoder */, |
726 PP_VideoDecodeError_Dev /* error */) | 726 PP_VideoDecodeError_Dev /* error */) |
727 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 727 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
728 | 728 |
729 // Reports to the browser that a plugin has been active. | 729 // Reports to the browser that a plugin has been active. |
730 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Keepalive) | 730 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Keepalive) |
731 | 731 |
732 // ----------------------------------------------------------------------------- | 732 // ----------------------------------------------------------------------------- |
733 // These are from the plugin to the renderer. | 733 // These are from the plugin to the renderer. |
Mark Seaborn
2014/01/06 16:56:14
Can you update the comments in line with the expla
| |
734 | 734 |
735 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel | 735 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel |
736 // could not be established. This could be because the IPC could not be created | 736 // could not be established. This could be because the IPC could not be created |
737 // for some weird reason, but more likely that the plugin failed to load or | 737 // for some weird reason, but more likely that the plugin failed to load or |
738 // initialize properly. | 738 // initialize properly. |
739 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, | 739 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, |
740 IPC::ChannelHandle /* handle */) | 740 IPC::ChannelHandle /* handle */) |
741 IPC_MESSAGE_CONTROL1(PpapiHostMsg_NaClChannelCreated, | |
742 IPC::ChannelHandle /* handle */) | |
741 | 743 |
742 // Logs the given message to the console of all instances. | 744 // Logs the given message to the console of all instances. |
743 IPC_MESSAGE_CONTROL4(PpapiHostMsg_LogWithSource, | 745 IPC_MESSAGE_CONTROL4(PpapiHostMsg_LogWithSource, |
744 PP_Instance /* instance */, | 746 PP_Instance /* instance */, |
745 int /* log_level */, | 747 int /* log_level */, |
746 std::string /* source */, | 748 std::string /* source */, |
747 std::string /* value */) | 749 std::string /* value */) |
748 | 750 |
749 // PPB_Audio. | 751 // PPB_Audio. |
750 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, | 752 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, |
(...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2011 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2013 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2012 PP_TalkPermission /* permission */) | 2014 PP_TalkPermission /* permission */) |
2013 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2015 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2014 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2016 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2015 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2017 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2016 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2018 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2017 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2019 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2018 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2020 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2019 | 2021 |
2020 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2022 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |