Chromium Code Reviews| 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 d926ef8f5f7bde9a20591c96938bff8271a9e3fc..5f5e67f18bd1e1efe4932819a65986a95996e5d3 100644 |
| --- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| +++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| @@ -859,6 +859,14 @@ void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag |
| m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); |
| } |
| +void FrameLoaderClientImpl::didChangeFrameOwnerProperties(Frame* childFrame, ScrollbarMode scrollingMode, int marginWidth, int marginHeight) |
|
dcheng
2015/10/08 06:43:15
Instead of passing all these values, maybe just pa
lazyboy
2015/10/08 17:57:40
Passing HTMLFrameOwnerElementBase*
Done.
|
| +{ |
| + if (!m_webFrame->client()) |
| + return; |
| + |
| + m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(childFrame), WebFrameOwnerProperties(static_cast<WebFrameOwnerProperties::ScrollingMode>(scrollingMode), marginWidth, marginHeight)); |
| +} |
| + |
| void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) |
| { |
| m_webFrame->client()->willOpenWebSocket(handle); |