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

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

Issue 894843003: Move the RenderProcessGone IPC from RenderViewHost to RenderFrameHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for swapped out RFHs. Created 5 years, 10 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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_CreateChildFrame, 570 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_CreateChildFrame,
571 int32 /* parent_routing_id */, 571 int32 /* parent_routing_id */,
572 std::string /* frame_name */, 572 std::string /* frame_name */,
573 content::SandboxFlags /* sandbox flags */, 573 content::SandboxFlags /* sandbox flags */,
574 int32 /* new_routing_id */) 574 int32 /* new_routing_id */)
575 575
576 // Sent by the renderer to the parent RenderFrameHost when a child frame is 576 // Sent by the renderer to the parent RenderFrameHost when a child frame is
577 // detached from the DOM. 577 // detached from the DOM.
578 IPC_MESSAGE_ROUTED0(FrameHostMsg_Detach) 578 IPC_MESSAGE_ROUTED0(FrameHostMsg_Detach)
579 579
580 // Indicates the renderer process is gone. This actually is sent by the
581 // browser process to itself, but keeps the interface cleaner.
582 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone,
583 int, /* this really is base::TerminationStatus */
584 int /* exit_code */)
585
580 // Sent by the renderer when the frame becomes focused. 586 // Sent by the renderer when the frame becomes focused.
581 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) 587 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused)
582 588
583 // Sent when the renderer starts a provisional load for a frame. 589 // Sent when the renderer starts a provisional load for a frame.
584 // |is_transition_navigation| signals that the frame has defined transition 590 // |is_transition_navigation| signals that the frame has defined transition
585 // elements which can be animated by the navigation destination to provide 591 // elements which can be animated by the navigation destination to provide
586 // a transition effect during load. 592 // a transition effect during load.
587 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame, 593 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame,
588 GURL /* url */, 594 GURL /* url */,
589 bool /* is_transition_navigation */) 595 bool /* is_transition_navigation */)
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) 854 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */)
849 855
850 #if defined(OS_MACOSX) || defined(OS_ANDROID) 856 #if defined(OS_MACOSX) || defined(OS_ANDROID)
851 857
852 // Message to show/hide a popup menu using native controls. 858 // Message to show/hide a popup menu using native controls.
853 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 859 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
854 FrameHostMsg_ShowPopup_Params) 860 FrameHostMsg_ShowPopup_Params)
855 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 861 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
856 862
857 #endif 863 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698