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

Side by Side Diff: content/common/frame_messages.h

Issue 1117023002: Keep event page alive when there's some Pepper plugin on it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DCHECK. Created 5 years, 6 months 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 10 #include "content/common/frame_message_enums.h"
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 // Following message is used to communicate the values received by the 713 // Following message is used to communicate the values received by the
714 // callback binding the JS to Cpp. 714 // callback binding the JS to Cpp.
715 // An instance of browser that has an automation host listening to it can 715 // An instance of browser that has an automation host listening to it can
716 // have a javascript send a native value (string, number, boolean) to the 716 // have a javascript send a native value (string, number, boolean) to the
717 // listener in Cpp. (DomAutomationController) 717 // listener in Cpp. (DomAutomationController)
718 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse, 718 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse,
719 std::string /* json_string */, 719 std::string /* json_string */,
720 int /* automation_id */) 720 int /* automation_id */)
721 721
722 #if defined(ENABLE_PLUGINS) 722 #if defined(ENABLE_PLUGINS)
723 // Notification sent from a renderer to the browser that a Pepper plugin
724 // instance is created in the DOM.
725 IPC_MESSAGE_ROUTED0(FrameHostMsg_PepperInstanceCreated)
726
727 // Notification sent from a renderer to the browser that a Pepper plugin
728 // instance is deleted from the DOM.
729 IPC_MESSAGE_ROUTED0(FrameHostMsg_PepperInstanceDeleted)
730
723 // Sent to the browser when the renderer detects it is blocked on a pepper 731 // Sent to the browser when the renderer detects it is blocked on a pepper
724 // plugin message for too long. This is also sent when it becomes unhung 732 // plugin message for too long. This is also sent when it becomes unhung
725 // (according to the value of is_hung). The browser can give the user the 733 // (according to the value of is_hung). The browser can give the user the
726 // option of killing the plugin. 734 // option of killing the plugin.
727 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, 735 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung,
728 int /* plugin_child_id */, 736 int /* plugin_child_id */,
729 base::FilePath /* path */, 737 base::FilePath /* path */,
730 bool /* is_hung */) 738 bool /* is_hung */)
731 739
732 // Sent by the renderer process to indicate that a plugin instance has crashed. 740 // Sent by the renderer process to indicate that a plugin instance has crashed.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 FrameMsg_PostMessage_Params) 914 FrameMsg_PostMessage_Params)
907 915
908 #if defined(OS_MACOSX) || defined(OS_ANDROID) 916 #if defined(OS_MACOSX) || defined(OS_ANDROID)
909 917
910 // Message to show/hide a popup menu using native controls. 918 // Message to show/hide a popup menu using native controls.
911 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 919 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
912 FrameHostMsg_ShowPopup_Params) 920 FrameHostMsg_ShowPopup_Params)
913 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 921 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
914 922
915 #endif 923 #endif
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698