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

Unified Diff: content/common/frame_messages.h

Issue 2506183002: Make window.open() IPCs be frame-based (Closed)
Patch Set: Remove frame_tree_node include & DEPS Created 4 years 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 63aadc0f239560ce871bf6cbfa7ed757ece8d496..7b7d50f9be09c74440885d8fb5a68198fc6a61e8 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -571,6 +571,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)

Powered by Google App Engine
This is Rietveld 408576698