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

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: WIP snapshot with major comment rewrite. 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 658e834230dd6fe39ee05f4891563fa7cc618f99..8f559bbae7c6ed257f10d47767786472cf66cd6b 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/frame_tree_node.h"
#include "content/browser/frame_host/navigator.h"
@@ -44,6 +45,7 @@ RenderFrameHostImpl::RenderFrameHostImpl(
bool is_swapped_out)
: render_view_host_(render_view_host),
delegate_(delegate),
+ cross_process_frame_connector_(NULL),
frame_tree_(frame_tree),
frame_tree_node_(frame_tree_node),
routing_id_(routing_id),
@@ -66,6 +68,11 @@ int RenderFrameHostImpl::GetRoutingID() {
return routing_id_;
}
+void RenderFrameHostImpl::SetCrossProcessFrameConnector(
+ CrossProcessFrameConnector* cross_process_frame_connector) {
+ cross_process_frame_connector_ = cross_process_frame_connector;
Charlie Reis 2013/12/17 01:09:31 This is simple and can be inlined in the .h file,
awong 2013/12/17 02:45:27 Done.
+}
+
bool RenderFrameHostImpl::Send(IPC::Message* message) {
return GetProcess()->Send(message);
}

Powered by Google App Engine
This is Rietveld 408576698