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

Unified Diff: extensions/renderer/guest_view/extensions_guest_view_container.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 | « extensions/extensions.gyp ('k') | extensions/renderer/guest_view/guest_view_container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/guest_view/extensions_guest_view_container.cc
diff --git a/extensions/renderer/guest_view/extensions_guest_view_container.cc b/extensions/renderer/guest_view/extensions_guest_view_container.cc
index 3a5359f922699bf80f2cb9afff93182921920cac..6f2dd0e829e697daed9294d2237250646776ce75 100644
--- a/extensions/renderer/guest_view/extensions_guest_view_container.cc
+++ b/extensions/renderer/guest_view/extensions_guest_view_container.cc
@@ -6,8 +6,8 @@
#include "content/public/renderer/render_frame.h"
#include "content/public/renderer/render_view.h"
-#include "extensions/common/extension_messages.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/WebLocalFrame.h"
#include "third_party/WebKit/public/web/WebScopedMicrotaskSuppression.h"
#include "third_party/WebKit/public/web/WebView.h"
@@ -62,7 +62,7 @@ void ExtensionsGuestViewContainer::AttachRequest::PerformRequest() {
// Step 1, send the attach params to extensions/.
container()->render_frame()->Send(
- new ExtensionHostMsg_AttachGuest(container()->render_view_routing_id(),
+ new GuestViewHostMsg_AttachGuest(container()->render_view_routing_id(),
container()->element_instance_id(),
guest_instance_id_,
*params_));
@@ -73,8 +73,8 @@ void ExtensionsGuestViewContainer::AttachRequest::PerformRequest() {
void ExtensionsGuestViewContainer::AttachRequest::HandleResponse(
const IPC::Message& message) {
- ExtensionMsg_GuestAttached::Param param;
- if (!ExtensionMsg_GuestAttached::Read(&message, &param))
+ GuestViewMsg_GuestAttached::Param param;
+ if (!GuestViewMsg_GuestAttached::Read(&message, &param))
return;
// If we don't have a callback then there's nothing more to do.
« no previous file with comments | « extensions/extensions.gyp ('k') | extensions/renderer/guest_view/guest_view_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698