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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Extend tests, fix redirects. Non-PlzNavigate version still broken. Created 3 years, 10 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 6a2a91401b5b39045c7bc04ffdacf2f0d4258622..dd430128b1977e27dafed0d938a2dd67a7d0e4ba 100644
--- a/third_party/WebKit/Source/core/frame/FrameOwner.h
+++ b/third_party/WebKit/Source/core/frame/FrameOwner.h
@@ -39,6 +39,10 @@ class CORE_EXPORT FrameOwner : public GarbageCollectedMixin {
virtual bool canRenderFallbackContent() const = 0;
virtual void renderFallbackContent() = 0;
+ // 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) {}
+
// Returns the 'name' content attribute value of the browsing context
// container.
// https://html.spec.whatwg.org/multipage/browsers.html#browsing-context-container

Powered by Google App Engine
This is Rietveld 408576698