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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 100473010: Adding RenderWidgetHostViewChildFrame for OOPIF view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed broken unit test Created 7 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: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index e41fc0165a45dbcb8c55144445c9f27118eb04cc..e1b03e4a6cfeb46255332d648686d64b5ae467d2 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -6,6 +6,7 @@
#include "base/containers/hash_tables.h"
#include "base/lazy_instance.h"
+#include "content/browser/frame_host/cross_process_frame_connector.h"
#include "content/browser/frame_host/frame_tree.h"
#include "content/browser/frame_host/render_frame_host_delegate.h"
#include "content/browser/renderer_host/render_view_host_impl.h"
@@ -41,6 +42,7 @@ RenderFrameHostImpl::RenderFrameHostImpl(
bool is_swapped_out)
: render_view_host_(render_view_host),
delegate_(delegate),
+ cross_process_frame_connector_(0),
frame_tree_(frame_tree),
routing_id_(routing_id),
is_swapped_out_(is_swapped_out) {
@@ -61,6 +63,11 @@ int RenderFrameHostImpl::GetRoutingID() {
return routing_id_;
}
+void RenderFrameHostImpl::SetCrossProcessFrameConnector(
+ CrossProcessFrameConnector* cross_process_frame_connector) {
+ cross_process_frame_connector_ = cross_process_frame_connector;
+}
+
bool RenderFrameHostImpl::Send(IPC::Message* message) {
return GetProcess()->Send(message);
}

Powered by Google App Engine
This is Rietveld 408576698