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 4a6c43417c0624b63a46876258a7f5c6227dedba..87237fc9cbd53bbe42b81f1f72b862e7737f1239 100644 |
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
@@ -41,6 +41,7 @@ |
#include "core/events/UIEventWithKeyState.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/Settings.h" |
+#include "core/html/HTMLFrameElementBase.h" |
#include "core/html/HTMLMediaElement.h" |
#include "core/html/HTMLPlugInElement.h" |
#include "core/input/EventHandler.h" |
@@ -859,6 +860,14 @@ void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag |
m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); |
} |
+void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase* frameElement) |
+{ |
+ if (!m_webFrame->client()) |
+ return; |
+ |
+ m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(frameElement->contentFrame()), WebFrameOwnerProperties(frameElement->scrollingMode(), frameElement->marginWidth(), frameElement->marginHeight())); |
+} |
+ |
void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) |
{ |
m_webFrame->client()->willOpenWebSocket(handle); |