summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension_messages.h
diff options
context:
space:
mode:
authorfsamuel <fsamuel@chromium.org>2014-12-18 11:21:33 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-18 19:21:58 +0000
commit6c1dfeb5606544bb37a3ffe9ba49aa1c6a973fed (patch)
tree154dafd56b220c18d9522e45d5f8c6eeef919434 /extensions/common/extension_messages.h
parentce0415e9693c1a520c418c93b47bb5dcce8cce37 (diff)
downloadchromium_src-6c1dfeb5606544bb37a3ffe9ba49aa1c6a973fed.zip
chromium_src-6c1dfeb5606544bb37a3ffe9ba49aa1c6a973fed.tar.gz
chromium_src-6c1dfeb5606544bb37a3ffe9ba49aa1c6a973fed.tar.bz2
Fix message routing for BrowserPlugin in iframe
Message routing in the renderer to a particular BrowserPlugin happens through BrowserPluginManager. Previously, there was a BrowserPluginManager per RenderView that was created lazily. This CL moves BrowserPluginManager to be created once for the RenderThread. This allows correct routing to BrowserPlugins regardless of whether they live on the main page or inside an iframe. BUG=442033 TBR=kenrb@chromium.org for trivial change to extension_messages.h Review URL: https://codereview.chromium.org/801173002 Cr-Commit-Position: refs/heads/master@{#309053}
Diffstat (limited to 'extensions/common/extension_messages.h')
-rw-r--r--extensions/common/extension_messages.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h
index b3d662d..80577c1 100644
--- a/extensions/common/extension_messages.h
+++ b/extensions/common/extension_messages.h
@@ -556,7 +556,7 @@ IPC_MESSAGE_CONTROL1(ExtensionMsg_CreateMimeHandlerViewGuestACK,
// 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,
+IPC_MESSAGE_CONTROL2(ExtensionMsg_GuestAttached,
int /* element_instance_id */,
int /* source_routing_id */)
@@ -564,8 +564,8 @@ IPC_MESSAGE_ROUTED2(ExtensionMsg_GuestAttached,
// |element_instance_id| from a GuestViewBase if it is attached to one.
// In other words, routing of input and graphics will no longer flow through
// the container associated with the provided ID.
-IPC_MESSAGE_ROUTED1(ExtensionMsg_GuestDetached,
- int /* element_instance_id*/)
+IPC_MESSAGE_CONTROL1(ExtensionMsg_GuestDetached,
+ int /* element_instance_id*/)
// Messages sent from the renderer to the browser.