Mojofy FrameHostMsg_ShowCreatedWindow.

Bug: 786836
Change-Id: I9c867685877bb7bbf3786677d9dbace61f4f9df0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1634879
Commit-Queue: Lowell Manners <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Camille Lamy <[email protected]>
Cr-Commit-Position: refs/heads/master@{#670028}
diff --git a/content/common/frame.mojom b/content/common/frame.mojom
index e8ad0f810..3f78b3f3 100644
--- a/content/common/frame.mojom
+++ b/content/common/frame.mojom
@@ -528,5 +528,13 @@
   // user activation state of the frames in the frame tree in the non-source and
   // non-target renderer processes.
   TransferUserActivationFrom(int32 source_routing_id);
+
+  // 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.
+  ShowCreatedWindow(int32 pending_widget_routing_id,
+                    ui.mojom.WindowOpenDisposition disposition,
+                    gfx.mojom.Rect rect, bool opened_by_user_gesture);
 };