OLD | NEW |
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 Loading... |
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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 bool /* present */) | 862 bool /* present */) |
857 | 863 |
858 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 864 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
859 | 865 |
860 // Message to show/hide a popup menu using native controls. | 866 // Message to show/hide a popup menu using native controls. |
861 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 867 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
862 FrameHostMsg_ShowPopup_Params) | 868 FrameHostMsg_ShowPopup_Params) |
863 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 869 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
864 | 870 |
865 #endif | 871 #endif |
OLD | NEW |