| 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 caf7cdb938cb7bb310fe9839719658ee6e41df3d..130b5667ada62ecf1b8e8551864fd48497088c22 100644
|
| --- a/third_party/WebKit/Source/web/WebFrame.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrame.cpp
|
| @@ -171,6 +171,12 @@ void WebFrame::SetFrameOwnerProperties(
|
| owner->SetAllowedFeatures(properties.allowed_features);
|
| }
|
|
|
| +void WebFrame::Collapse(bool collapsed) {
|
| + FrameOwner* owner = ToImplBase()->GetFrame()->Owner();
|
| + DCHECK(owner->IsLocal());
|
| + ToHTMLFrameOwnerElement(owner)->SetCollapsedByClient(collapsed);
|
| +}
|
| +
|
| WebFrame* WebFrame::Opener() const {
|
| return opener_;
|
| }
|
|
|