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()) |