Index: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
index d9f83262d3de730661f27bbaf56581dfd7af9f13..9f7471ec53221fe8d58173a0ba527bc5c286731d 100644 |
--- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
@@ -135,6 +135,12 @@ bool WebRemoteFrameImpl::HasVerticalScrollbar() const { |
return false; |
} |
+void WebRemoteFrameImpl::Collapse(bool collapsed) { |
alexmos
2017/04/11 06:00:30
Given that this does the same thing as WebLocalFra
engedy
2017/04/11 08:06:17
Excellent suggestion, done!
|
+ DCHECK(GetFrame()->Owner()->IsLocal()); |
+ HTMLFrameOwnerElement* owner = ToHTMLFrameOwnerElement(GetFrame()->Owner()); |
+ owner->SetCollapsedByClient(collapsed); |
+} |
+ |
WebView* WebRemoteFrameImpl::View() const { |
if (!GetFrame()) |
return nullptr; |