Index: third_party/WebKit/public/web/WebFrame.h |
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h |
index 826ea3e4e53f9cc760791d1173080db2b35d737f..031fae5bd873a0ea6cf35387ae3b7ab252a1defb 100644 |
--- a/third_party/WebKit/public/web/WebFrame.h |
+++ b/third_party/WebKit/public/web/WebFrame.h |
@@ -181,6 +181,11 @@ class WebFrame { |
virtual bool HasHorizontalScrollbar() const = 0; |
virtual bool HasVerticalScrollbar() const = 0; |
+ // Whether to collapse the frame's owner element in the embedder document, |
+ // that is, to remove it from the layout as if it did not exist. Only works |
+ // for <iframe> owner elements. |
+ virtual void Collapse(bool) = 0; |
+ |
// Hierarchy ---------------------------------------------------------- |
// Returns the containing view. |