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 619764328532452b78941053dd3c5b5c783e85fb..ac195d5f09c9bd65fbd9fb8f644da8bc00ab2111 100644 |
--- a/third_party/WebKit/public/web/WebFrame.h |
+++ b/third_party/WebKit/public/web/WebFrame.h |
@@ -184,6 +184,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. |