Index: chrome/renderer/chrome_content_renderer_client.cc |
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc |
index 9a6315722e9183e7e2b89c62e32408de8d3e2a6a..35501e49d8f32b1241fefac7eafd6d20bfbf08b7 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -66,6 +66,7 @@ |
#include "components/dom_distiller/content/renderer/distillability_agent.h" |
#include "components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h" |
#include "components/dom_distiller/core/url_constants.h" |
+#include "components/framelet/renderer/framelet_container.h" |
#include "components/nacl/renderer/ppb_nacl_private.h" |
#include "components/nacl/renderer/ppb_nacl_private_impl.h" |
#include "components/network_hints/renderer/prescient_networking_dispatcher.h" |
@@ -338,6 +339,9 @@ void ChromeContentRendererClient::RenderThreadStarted() { |
thread->AddObserver(spellcheck_.get()); |
} |
#endif |
+ guest_view_container_dispatcher_.reset( |
+ new chrome::ChromeGuestViewContainerDispatcher()); |
+ thread->AddObserver(guest_view_container_dispatcher_.get()); |
visited_link_slave_.reset(new visitedlink::VisitedLinkSlave()); |
#if defined(FULL_SAFE_BROWSING) |
phishing_classifier_.reset(safe_browsing::PhishingClassifierFilter::Create()); |
@@ -1357,6 +1361,13 @@ ChromeContentRendererClient::CreateBrowserPluginDelegate( |
#endif |
} |
+blink::WebFrameletClient* ChromeContentRendererClient::CreateFramelet( |
+ content::RenderFrame* render_frame, |
+ const GURL& url, |
+ IPC::Sender* thread_safe_sender) { |
+ return new framelet::FrameletContainer(render_frame, url, thread_safe_sender); |
+} |
+ |
void ChromeContentRendererClient::RecordRappor(const std::string& metric, |
const std::string& sample) { |
RenderThread::Get()->Send(new ChromeViewHostMsg_RecordRappor(metric, sample)); |