Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Unified Diff: third_party/WebKit/Source/core/frame/FrameOwner.h

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Remove surplus semicolon. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698