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 21bf0347941961f069e7ad92e0b260f92edd38b1..f759d64c16db09e33474834105355075a067529e 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" |
@@ -872,6 +873,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); |