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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

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: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index 167b3807b3fc283d8f40ee9979b54104698730aa..9d0f9c25ba8e01fe7feff8fc97ca4954613568a8 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -41,6 +41,7 @@
#include "core/frame/FrameView.h"
#include "core/frame/Settings.h"
#include "core/html/HTMLFrameElementBase.h"
+#include "core/html/HTMLFrameletElement.h"
#include "core/html/HTMLMediaElement.h"
#include "core/html/HTMLPlugInElement.h"
#include "core/input/EventHandler.h"
@@ -88,6 +89,7 @@
#include "public/web/WebDocument.h"
#include "public/web/WebFormElement.h"
#include "public/web/WebFrameClient.h"
+#include "public/web/WebFrameletClient.h"
#include "public/web/WebNode.h"
#include "public/web/WebPlugin.h"
#include "public/web/WebPluginParams.h"
@@ -97,6 +99,7 @@
#include "web/WebDataSourceImpl.h"
#include "web/WebDevToolsAgentImpl.h"
#include "web/WebDevToolsFrontendImpl.h"
+#include "web/WebFrameletImpl.h"
#include "web/WebLocalFrameImpl.h"
#include "web/WebPluginContainerImpl.h"
#include "web/WebViewImpl.h"
@@ -762,6 +765,13 @@ PassRefPtrWillBeRawPtr<LocalFrame> FrameLoaderClientImpl::createFrame(
return m_webFrame->createChildFrame(request, name, ownerElement);
}
+WebFramelet* FrameLoaderClientImpl::createFramelet(const KURL& url, HTMLFrameletElement* ownerElement)
+{
+ WebFramelet* framelet = m_webFrame->createFramelet(url);
+ static_cast<WebFrameletImpl*>(framelet)->initializeCoreFramelet(ownerElement);
+ return framelet;
+}
+
bool FrameLoaderClientImpl::canCreatePluginWithoutRenderer(const String& mimeType) const
{
if (!m_webFrame->client())
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/Source/web/FrameletClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698