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 c0be001511a02ae388779f4c725c961d97662e03..5fe64b8f19288498be65ece0e9a36048fcc8b6c3 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/distiller_js_render_frame_observer.h" |
#include "components/dom_distiller/core/url_constants.h" |
#include "components/error_page/common/localized_error.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" |
@@ -339,6 +340,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()); |
@@ -1359,6 +1363,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)); |