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

Unified Diff: content/common/frame_messages.h

Issue 851333005: Revert of Make RenderFrame(Host) own a RenderWidget(Host). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/web_contents/web_contents_impl_unittest.cc ('k') | content/renderer/render_frame_impl.h » ('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 14a36dfe1b9d110eea46660c8e440b069edbb4b2..e69b0f1856efd7049c9b0fa7078de744226f4c75 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -230,19 +230,6 @@
IPC_STRUCT_TRAITS_MEMBER(sandbox_flags)
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)
-
- // Identifier for the output surface for the new RenderWidget.
- IPC_STRUCT_MEMBER(int, surface_id)
-
- // Tells the new RenderWidget whether it is initially hidden.
- IPC_STRUCT_MEMBER(bool, hidden)
-IPC_STRUCT_END()
-
IPC_STRUCT_BEGIN(FrameMsg_Navigate_Params)
// TODO(clamy): investigate which parameters are also needed in PlzNavigate
// and move them to the appropriate NavigationParams struct.
@@ -402,12 +389,11 @@
// to replace the proxy on commit. When the new frame has a parent,
// |replication_state| holds properties replicated from the process rendering
// the parent frame, such as the new frame's sandbox flags.
-IPC_MESSAGE_CONTROL5(FrameMsg_NewFrame,
+IPC_MESSAGE_CONTROL4(FrameMsg_NewFrame,
int /* routing_id */,
int /* parent_routing_id */,
int /* proxy_routing_id */,
- content::FrameReplicationState /* replication_state */,
- FrameMsg_NewFrame_WidgetParams /* widget_params */)
+ content::FrameReplicationState /* replication_state */)
// Instructs the renderer to create a new RenderFrameProxy object with
// |routing_id|. The new proxy should be created as a child of the object
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698