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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 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
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));
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.h ('k') | chrome/renderer/extensions/chrome_extensions_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698