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

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: 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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_CreateChildFrame, 584 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_CreateChildFrame,
585 int32 /* parent_routing_id */, 585 int32 /* parent_routing_id */,
586 std::string /* frame_name */, 586 std::string /* frame_name */,
587 content::SandboxFlags /* sandbox flags */, 587 content::SandboxFlags /* sandbox flags */,
588 int32 /* new_routing_id */) 588 int32 /* new_routing_id */)
589 589
590 // Sent by the renderer to the parent RenderFrameHost when a child frame is 590 // Sent by the renderer to the parent RenderFrameHost when a child frame is
591 // detached from the DOM. 591 // detached from the DOM.
592 IPC_MESSAGE_ROUTED0(FrameHostMsg_Detach) 592 IPC_MESSAGE_ROUTED0(FrameHostMsg_Detach)
593 593
594 // Indicates the renderer process is gone. This actually is sent by the
595 // browser process to itself, but keeps the interface cleaner.
596 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone,
597 int, /* this really is base::TerminationStatus */
598 int /* exit_code */)
599
594 // Sent by the renderer when the frame becomes focused. 600 // Sent by the renderer when the frame becomes focused.
595 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) 601 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused)
596 602
597 // Sent when the renderer starts a provisional load for a frame. 603 // Sent when the renderer starts a provisional load for a frame.
598 // |is_transition_navigation| signals that the frame has defined transition 604 // |is_transition_navigation| signals that the frame has defined transition
599 // elements which can be animated by the navigation destination to provide 605 // elements which can be animated by the navigation destination to provide
600 // a transition effect during load. 606 // a transition effect during load.
601 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame, 607 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame,
602 GURL /* url */, 608 GURL /* url */,
603 bool /* is_transition_navigation */) 609 bool /* is_transition_navigation */)
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) 863 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */)
858 864
859 #if defined(OS_MACOSX) || defined(OS_ANDROID) 865 #if defined(OS_MACOSX) || defined(OS_ANDROID)
860 866
861 // Message to show/hide a popup menu using native controls. 867 // Message to show/hide a popup menu using native controls.
862 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 868 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
863 FrameHostMsg_ShowPopup_Params) 869 FrameHostMsg_ShowPopup_Params)
864 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 870 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
865 871
866 #endif 872 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698