Index: extensions/common/guest_view/extensions_guest_view_messages.h |
diff --git a/extensions/common/guest_view/extensions_guest_view_messages.h b/extensions/common/guest_view/extensions_guest_view_messages.h |
index 61da7fcec0a364082c954e0ef21e607d6a9afe70..f1e51bf56dec92414cb9b7e600ad7c679498c9da 100644 |
--- a/extensions/common/guest_view/extensions_guest_view_messages.h |
+++ b/extensions/common/guest_view/extensions_guest_view_messages.h |
@@ -23,8 +23,24 @@ IPC_MESSAGE_CONTROL1(ExtensionsGuestViewMsg_CreateMimeHandlerViewGuestACK, |
IPC_MESSAGE_CONTROL1(ExtensionsGuestViewMsg_MimeHandlerViewGuestOnLoadCompleted, |
int /* element_instance_id */) |
+// Tells a <webview> that its contentWindow is ready to be exposed. |
+// The contentWindow should point to the RenderFrameProxy with routing |
+// ID of |guest_proxy_routing_id|. |
+IPC_MESSAGE_CONTROL2(ExtensionsGuestViewMsg_ContentWindowReady, |
+ int /* element_instance_id */, |
+ int /* guest_proxy_routing_id */) |
+ |
// Messages sent from the renderer to the browser. |
+// We have a RenderFrame with routing id of |embedder_local_frame_routing_id|. |
+// We want this local frame to be replaced with a remote frame that points |
+// to a <webview>. This message will attach the local frame to the <webview> |
+// guest. The <webview> is identified by its ID: |guest_instance_id|. |
+IPC_MESSAGE_CONTROL3(ExtensionsGuestViewHostMsg_AttachLocalFrameToGuest, |
+ int /* embedder_local_frame_routing_id */, |
+ int /* element_instance_id */, |
+ int /* guest_instance_id */) |
+ |
// Queries whether the RenderView of the provided |routing_id| is allowed to |
// inject the script with the provided |script_id|. |
IPC_SYNC_MESSAGE_CONTROL2_1( |