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

Unified Diff: third_party/WebKit/public/web/WebFrame.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/public/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index 826ea3e4e53f9cc760791d1173080db2b35d737f..031fae5bd873a0ea6cf35387ae3b7ab252a1defb 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -181,6 +181,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