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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Fix navigation transition type. Created 3 years, 7 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 9cb154427fb56f397c53e0d0076b7d07cff818c5..57d3a7bb1f5a4c5259d145984f0ae9187854825c 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
@@ -56,6 +56,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 SetCollapsed(bool) {}
+
Document* getSVGDocument(ExceptionState&) const;
virtual bool LoadedNonEmptyDocument() const { return false; }
« no previous file with comments | « content/test/data/frame_tree/legacy_frameset.html ('k') | third_party/WebKit/Source/core/html/HTMLIFrameElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698