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

Unified Diff: extensions/renderer/guest_view/guest_view_container.cc

Issue 1092853002: GuestView: Decouple extension IPCs from soon-to-be component IPCs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_guest_view_registry_to_guest_view_manager
Patch Set: Updated Created 5 years, 8 months 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/renderer/guest_view/guest_view_container.cc
diff --git a/extensions/renderer/guest_view/guest_view_container.cc b/extensions/renderer/guest_view/guest_view_container.cc
index 90e94c8e96f1e8ad586cb630203bef0d5ec59bc1..787e43996704bc11dcced486317ecd6392bfef3a 100644
--- a/extensions/renderer/guest_view/guest_view_container.cc
+++ b/extensions/renderer/guest_view/guest_view_container.cc
@@ -7,6 +7,7 @@
#include "content/public/renderer/render_frame.h"
#include "content/public/renderer/render_frame_observer.h"
#include "content/public/renderer/render_view.h"
+#include "extensions/common/guest_view/extensions_guest_view_messages.h"
#include "extensions/common/guest_view/guest_view_constants.h"
#include "extensions/common/guest_view/guest_view_messages.h"
@@ -49,10 +50,10 @@ GuestViewContainer::~GuestViewContainer() {}
// static.
bool GuestViewContainer::HandlesMessage(const IPC::Message& msg) {
switch (msg.type()) {
- case GuestViewMsg_CreateMimeHandlerViewGuestACK::ID:
+ case ExtensionsGuestViewMsg_CreateMimeHandlerViewGuestACK::ID:
+ case ExtensionsGuestViewMsg_MimeHandlerViewGuestOnLoadCompleted::ID:
case GuestViewMsg_GuestAttached::ID:
case GuestViewMsg_GuestDetached::ID:
- case GuestViewMsg_MimeHandlerViewGuestOnLoadCompleted::ID:
return true;
default:
return false;

Powered by Google App Engine
This is Rietveld 408576698