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

Unified Diff: content/common/frame_messages.h

Issue 2383853003: Move FrameMsg_NewFrame/NewFrameProxy to mojom (Closed)
Patch Set: Move FrameMsg_NewFrame/NewFrameProxy to mojom Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/common/native_types.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index fd3267ca0d9ef5335d85ad096ed3b1f3b74f1f10..902c03d31c9f8a20c9cb1beabad03e7a0b6576d8 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -401,55 +401,6 @@ IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState)
IPC_STRUCT_TRAITS_MEMBER(has_potentially_trustworthy_unique_origin)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_BEGIN(FrameMsg_NewFrame_WidgetParams)
- // Gives the routing ID for the RenderWidget that will be attached to the
- // new RenderFrame. If the RenderFrame does not need a RenderWidget, this
- // is MSG_ROUTING_NONE and the other parameters are not read.
- IPC_STRUCT_MEMBER(int, routing_id)
-
- // Tells the new RenderWidget whether it is initially hidden.
- IPC_STRUCT_MEMBER(bool, hidden)
-IPC_STRUCT_END()
-
-IPC_STRUCT_BEGIN(FrameMsg_NewFrame_Params)
- // Specifies the routing ID of the new RenderFrame object.
- IPC_STRUCT_MEMBER(int, routing_id)
-
- // If a valid |proxy_routing_id| is provided, the new frame will be
- // configured to replace the proxy on commit.
- IPC_STRUCT_MEMBER(int, proxy_routing_id)
-
- // Specifies the new frame's opener. The opener will be null if this is
- // MSG_ROUTING_NONE.
- IPC_STRUCT_MEMBER(int, opener_routing_id)
-
- // The new frame should be created as a child of the object
- // identified by |parent_routing_id| or as top level if that is
- // MSG_ROUTING_NONE.
- IPC_STRUCT_MEMBER(int, parent_routing_id)
-
- // Identifies the previous sibling of the new frame, so that the new frame is
- // inserted into the correct place in the frame tree. If this is
- // MSG_ROUTING_NONE, the frame will be created as the leftmost child of its
- // parent frame, in front of any other children.
- IPC_STRUCT_MEMBER(int, previous_sibling_routing_id)
-
- // When the new frame has a parent, |replication_state| holds the new frame's
- // properties replicated from the process rendering the parent frame, such as
- // the new frame's sandbox flags.
- IPC_STRUCT_MEMBER(content::FrameReplicationState, replication_state)
-
- // When the new frame has a parent, |frame_owner_properties| holds the
- // properties of the HTMLFrameOwnerElement from the parent process.
- // Note that unlike FrameReplicationState, this is not replicated for remote
- // frames.
- IPC_STRUCT_MEMBER(content::FrameOwnerProperties, frame_owner_properties)
-
- // Specifies properties for a new RenderWidget that will be attached to the
- // new RenderFrame (if one is needed).
- IPC_STRUCT_MEMBER(FrameMsg_NewFrame_WidgetParams, widget_params)
-IPC_STRUCT_END()
-
// Parameters included with an OpenURL request.
// |is_history_navigation_in_new_child| is true in the case that the browser
// process should look for an existing history item for the frame.
@@ -656,26 +607,9 @@ IPC_MESSAGE_ROUTED1(FrameMsg_UpdateOpener, int /* opener_routing_id */)
// commit, activation and frame swap of the current DOM tree in blink.
IPC_MESSAGE_ROUTED1(FrameMsg_VisualStateRequest, uint64_t /* id */)
-// Instructs the renderer to create a new RenderFrame object.
-IPC_MESSAGE_CONTROL1(FrameMsg_NewFrame, FrameMsg_NewFrame_Params /* params */)
-
// Instructs the renderer to delete the RenderFrame.
IPC_MESSAGE_ROUTED0(FrameMsg_Delete)
-// Instructs the renderer to create a new RenderFrameProxy object with
-// |routing_id|. |render_view_routing_id| identifies the
-// RenderView to be associated with this proxy. The new proxy's opener should
-// be set to the object identified by |opener_routing_id|, or to null if that
-// is MSG_ROUTING_NONE. The new proxy should be created as a child of the
-// object identified by |parent_routing_id| or as top level if that is
-// MSG_ROUTING_NONE.
-IPC_MESSAGE_CONTROL5(FrameMsg_NewFrameProxy,
- int /* routing_id */,
- int /* render_view_routing_id */,
- int /* opener_routing_id */,
- int /* parent_routing_id */,
- content::FrameReplicationState /* replication_state */)
-
// Tells the renderer to perform the specified navigation, interrupting any
// existing navigation.
IPC_MESSAGE_ROUTED3(FrameMsg_Navigate,
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/common/native_types.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698