diff options
author | fsamuel <fsamuel@chromium.org> | 2014-09-18 09:16:15 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-18 16:16:35 +0000 |
commit | 212c6daa34e6a5fd1a2754b08973d18d6d09246b (patch) | |
tree | 2c04943cee6bca37651c3f10a259ab2ec6a9b0fd /extensions/common/extension_messages.h | |
parent | 271b5ac015bc9eeaee9a6e14442dbb9e8ef3889d (diff) | |
download | chromium_src-212c6daa34e6a5fd1a2754b08973d18d6d09246b.zip chromium_src-212c6daa34e6a5fd1a2754b08973d18d6d09246b.tar.gz chromium_src-212c6daa34e6a5fd1a2754b08973d18d6d09246b.tar.bz2 |
Move ContentWindow from BrowserPlugin To GuestView
This CL plumbs out the swapped out RenderView's routing ID out to the content embedder which then uses it to expose its contentWindow to an optional callback in the AttachGuest API Method.
This patch also makes it fairly trivial to support a contentWindow in other GuestViews.
BUG=330264
Review URL: https://codereview.chromium.org/564973004
Cr-Commit-Position: refs/heads/master@{#295477}
Diffstat (limited to 'extensions/common/extension_messages.h')
-rw-r--r-- | extensions/common/extension_messages.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h index 8b090ca..d2aadea 100644 --- a/extensions/common/extension_messages.h +++ b/extensions/common/extension_messages.h @@ -516,6 +516,12 @@ IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs, IPC_MESSAGE_CONTROL1(ExtensionMsg_CreateMimeHandlerViewGuestACK, int /* element_instance_id */) +// Once a RenderView proxy has been created for the guest in the embedder render +// process, this IPC informs the embedder of the proxy's routing ID. +IPC_MESSAGE_ROUTED2(ExtensionMsg_GuestAttached, + int /* element_instance_id */, + int /* source_routing_id */) + // Messages sent from the renderer to the browser. // A renderer sends this message when an extension process starts an API |