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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Addressed comments, made redirect response PlzNavigate-only. Created 3 years, 8 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/html/HTMLFrameOwnerElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
index 8a569c0853566505360638ed0e20ce5c0f065a61..7d3438e6b36e74ac6de71a802a0dc6604653ddfc 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
@@ -54,6 +54,10 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement,
// return any LayoutObject when using fallback content.
LayoutPart* GetLayoutPart() const;
+ // Whether to collapse the frame owner element in the embedder document. That
+ // is, to remove it from the layout as if it did not exist.
+ virtual void SetCollapsedByClient(bool) {}
+
Document* getSVGDocument(ExceptionState&) const;
virtual bool LoadedNonEmptyDocument() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698