Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 61063003: Keep NaCl plugins used in app background pages alive when active. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments in patch 3 & 4. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 ppapi::HostResource /* video_decoder */, 718 ppapi::HostResource /* video_decoder */,
719 int32_t /* picture buffer id */) 719 int32_t /* picture buffer id */)
720 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_PictureReady, 720 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_PictureReady,
721 ppapi::HostResource /* video_decoder */, 721 ppapi::HostResource /* video_decoder */,
722 PP_Picture_Dev /* output picture */) 722 PP_Picture_Dev /* output picture */)
723 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError, 723 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError,
724 ppapi::HostResource /* video_decoder */, 724 ppapi::HostResource /* video_decoder */,
725 PP_VideoDecodeError_Dev /* error */) 725 PP_VideoDecodeError_Dev /* error */)
726 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 726 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
727 727
728 // Reports to the browser that a plugin has been active.
729 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Keepalive)
730
728 // ----------------------------------------------------------------------------- 731 // -----------------------------------------------------------------------------
729 // These are from the plugin to the renderer. 732 // These are from the plugin to the renderer.
730 733
731 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel 734 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel
732 // could not be established. This could be because the IPC could not be created 735 // could not be established. This could be because the IPC could not be created
733 // for some weird reason, but more likely that the plugin failed to load or 736 // for some weird reason, but more likely that the plugin failed to load or
734 // initialize properly. 737 // initialize properly.
735 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, 738 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated,
736 IPC::ChannelHandle /* handle */) 739 IPC::ChannelHandle /* handle */)
737 740
(...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1998 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2001 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
1999 PP_TalkPermission /* permission */) 2002 PP_TalkPermission /* permission */)
2000 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2003 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2001 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2004 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2002 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2005 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2003 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2006 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2004 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2007 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2005 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2008 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2006 2009
2007 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2010 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698