Index: third_party/WebKit/Source/core/frame/FrameOwner.h |
diff --git a/third_party/WebKit/Source/core/frame/FrameOwner.h b/third_party/WebKit/Source/core/frame/FrameOwner.h |
index 352d8ed4f7033308c419c75be0fa8e484b78769e..b4eb66d86e769709bd1b8c5fd05c5c4f4e26a332 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameOwner.h |
+++ b/third_party/WebKit/Source/core/frame/FrameOwner.h |
@@ -38,6 +38,10 @@ class CORE_EXPORT FrameOwner : public GarbageCollectedMixin { |
virtual bool canRenderFallbackContent() const = 0; |
virtual void renderFallbackContent() = 0; |
+ // Collapses the frame owner, i.e. removes it from the layout of the parent |
+ // frame if the owner is an <iframe> element. |
+ virtual void setShouldCollapse(bool) {} |
+ |
virtual ScrollbarMode scrollingMode() const = 0; |
virtual int marginWidth() const = 0; |
virtual int marginHeight() const = 0; |