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

Unified Diff: content/common/frame_messages.h

Issue 2506183002: Make window.open() IPCs be frame-based (Closed)
Patch Set: Rebase. Created 3 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
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index e04fc32b4788b657b490fdf6ea613d3d33bed4d2..9f65e60eef8ec63bb6acc6f7023c84ff02e0a4d0 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -585,6 +585,16 @@ IPC_STRUCT_BEGIN(FrameHostMsg_ShowPopup_Params)
IPC_STRUCT_END()
#endif
+// Causes a window previously opened via RenderMessageFilter::CreateNewWindow to
+// be shown on the screen. This message is routed to the preexisting frame that
+// opened the window, and |pending_widget_routing_id| corresponds to the
+// widget routing id from the CreateNewWindow reply.
+IPC_MESSAGE_ROUTED4(FrameHostMsg_ShowCreatedWindow,
+ int /* pending_widget_routing_id */,
+ WindowOpenDisposition /* disposition */,
+ gfx::Rect /* initial_rect */,
+ bool /* opened_by_user_gesture */)
+
#if BUILDFLAG(ENABLE_PLUGINS)
IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData)
IPC_STRUCT_TRAITS_MEMBER(render_process_id)
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/common/render_message_filter.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698