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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Fix navigation transition type. 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
« no previous file with comments | « third_party/WebKit/Source/web/WebFrame.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 804dfd2fe496960fd5466fc7b85ef2e0dbc5f3ad..ffcbe1e3626e082c33330d7af3efdcfa22f67392 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.
+ BLINK_EXPORT void Collapse(bool);
+
// Hierarchy ----------------------------------------------------------
// Returns the containing view.
« no previous file with comments | « third_party/WebKit/Source/web/WebFrame.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698