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

Unified Diff: third_party/WebKit/public/web/WebFrame.h

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: ... and without breaking stuff. 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..dd74a6b0f77e72173e72e3f0ad11c332acf7aa64 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.
+ BLINK_EXPORT void Collapse(bool);
+
// Hierarchy ----------------------------------------------------------
// Returns the containing view.

Powered by Google App Engine
This is Rietveld 408576698