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

Unified Diff: extensions/common/extension_messages.h

Issue 801173002: Fix message routing for BrowserPlugin in iframe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests that don't have a RenderThreadImpl Created 6 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: extensions/common/extension_messages.h
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h
index b3d662d990a3a3ccd5fce84931c7c15970040c68..80577c173148622047c39eba35219376e68d6370 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.

Powered by Google App Engine
This is Rietveld 408576698