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

Unified Diff: extensions/browser/guest_view/guest_view_base.cc

Issue 892923002: Move GuestView IPCs into their own messages file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit Created 5 years, 11 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
« no previous file with comments | « no previous file | extensions/browser/guest_view/guest_view_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/guest_view/guest_view_base.cc
diff --git a/extensions/browser/guest_view/guest_view_base.cc b/extensions/browser/guest_view/guest_view_base.cc
index 7444e0ff121281871d46a3b849c8a44dacfaac85..9cc55467af42d2dc1f752b58e605b07e271dea32 100644
--- a/extensions/browser/guest_view/guest_view_base.cc
+++ b/extensions/browser/guest_view/guest_view_base.cc
@@ -27,10 +27,10 @@
#include "extensions/browser/guest_view/web_view/web_view_guest.h"
#include "extensions/browser/process_manager.h"
#include "extensions/browser/process_map.h"
-#include "extensions/common/extension_messages.h"
#include "extensions/common/features/feature.h"
#include "extensions/common/features/feature_provider.h"
#include "extensions/common/guest_view/guest_view_constants.h"
+#include "extensions/common/guest_view/guest_view_messages.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
using content::WebContents;
@@ -387,7 +387,7 @@ void GuestViewBase::DidAttach(int guest_proxy_routing_id) {
DidAttachToEmbedder();
// Inform the associated GuestViewContainer that the contentWindow is ready.
- embedder_web_contents()->Send(new ExtensionMsg_GuestAttached(
+ embedder_web_contents()->Send(new GuestViewMsg_GuestAttached(
element_instance_id_,
guest_proxy_routing_id));
@@ -398,7 +398,7 @@ void GuestViewBase::DidDetach() {
GuestViewManager::FromBrowserContext(browser_context_)->DetachGuest(
this, element_instance_id_);
StopTrackingEmbedderZoomLevel();
- owner_web_contents()->Send(new ExtensionMsg_GuestDetached(
+ owner_web_contents()->Send(new GuestViewMsg_GuestDetached(
element_instance_id_));
element_instance_id_ = guestview::kInstanceIDNone;
}
« no previous file with comments | « no previous file | extensions/browser/guest_view/guest_view_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698