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

Unified Diff: third_party/WebKit/public/web/WebFrame.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/public/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index 619764328532452b78941053dd3c5b5c783e85fb..ac195d5f09c9bd65fbd9fb8f644da8bc00ab2111 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -184,6 +184,11 @@ class WebFrame {
virtual bool hasHorizontalScrollbar() const = 0;
virtual bool hasVerticalScrollbar() const = 0;
+ // Whether to collapse the frame's owner element in the embedder document,
+ // that is, to remove it from the layout as if it did not exist. Only works
+ // for <iframe> owner elements.
+ virtual void collapse(bool) = 0;
+
// Hierarchy ----------------------------------------------------------
// Returns the containing view.

Powered by Google App Engine
This is Rietveld 408576698