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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Rebase. 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 c31ab53ff7e85eb90f1be7f79a8832b260de0151..8653b5b6d9c40f6ac4e738212dfb01e997c93fff 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
@@ -57,6 +57,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) {}
dcheng 2017/05/10 06:59:46 "client" is pretty vague. Maybe just remove "ByCli
engedy 2017/05/15 13:35:51 Done.
+
Document* getSVGDocument(ExceptionState&) const;
virtual bool LoadedNonEmptyDocument() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698