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

Unified Diff: content/browser/frame_host/render_frame_host_manager.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: content/browser/frame_host/render_frame_host_manager.h
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
index 9a7d3ad05e2731212b9050df87f51c47d4ab81b8..a9abdb1946527f16b6c7c12bb8f8b097bae2f378 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -435,6 +435,12 @@ class CONTENT_EXPORT RenderFrameHostManager
// when the frame changes its setting.
void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
+ // Called when the client changes whether the frame's owner element in the
+ // embedder document should be collapsed, that is, remove from the layout as
+ // if it did not exist. Never called for main frames. Only has an effect for
+ // <iframe> owner elements.
+ void OnDidChangeCollapsedByClientState(bool collapsed);
nasko 2017/03/01 20:08:04 As noted in the other file, I think the "ByClientS
engedy 2017/04/10 14:36:41 Done.
+
// Called on a frame to notify it that its out-of-process parent frame
// changed a property (such as allowFullscreen) on its <iframe> element.
// Sends updated FrameOwnerProperties to the RenderFrame and to all proxies,

Powered by Google App Engine
This is Rietveld 408576698