| Index: third_party/WebKit/Source/web/WebFrame.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrame.cpp b/third_party/WebKit/Source/web/WebFrame.cpp
|
| index a65d50dcad1a89989d68feae3c674e1513e315df..1c4b5b4cce46d5568969978b2dec78a3d8687ee9 100644
|
| --- a/third_party/WebKit/Source/web/WebFrame.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrame.cpp
|
| @@ -134,6 +134,18 @@ bool WebFrame::shouldEnforceStrictMixedContentChecking() const
|
| return toImplBase()->frame()->securityContext()->shouldEnforceStrictMixedContentChecking();
|
| }
|
|
|
| +void WebFrame::setFrameOwnerProperties(const WebFrameOwnerProperties& properties)
|
| +{
|
| + // At the moment, this is only used to replicate frame owner properties
|
| + // for frames with a remote owner.
|
| + RemoteFrameOwner* owner = toRemoteFrameOwner(toImplBase()->frame()->owner());
|
| + DCHECK(owner);
|
| + owner->setScrollingMode(properties.scrollingMode);
|
| + owner->setMarginWidth(properties.marginWidth);
|
| + owner->setMarginHeight(properties.marginHeight);
|
| + owner->setAllowFullscreen(properties.allowFullscreen);
|
| +}
|
| +
|
| WebFrame* WebFrame::opener() const
|
| {
|
| return m_opener;
|
|
|