| 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 5725f35664b7407bbaa249f78c942c89e0dc61af..347868a063af2c202cb7a5a2c63cd2b1f0eafedb 100644
|
| --- a/third_party/WebKit/Source/web/WebFrame.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrame.cpp
|
| @@ -181,6 +181,12 @@ void WebFrame::SetFrameOwnerProperties(
|
| owner->SetAllowedFeatures(properties.allowed_features);
|
| }
|
|
|
| +void WebFrame::Collapse(bool collapsed) {
|
| + FrameOwner* owner = ToCoreFrame(*this)->Owner();
|
| + DCHECK(owner->IsLocal());
|
| + ToHTMLFrameOwnerElement(owner)->SetCollapsedByClient(collapsed);
|
| +}
|
| +
|
| WebFrame* WebFrame::Opener() const {
|
| return opener_;
|
| }
|
|
|