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

Unified Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Moar tests. Created 3 years, 11 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 6ffb6f0671d194bffb0114872423c50466ae4ebf..f091ea5239408270790c4322cd5c8d515d93e6d2 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 on a child frame to propagate, to the child frame's owner element in
+ // the parent frame, a change in whether that frame owner element should be
+ // collapsed. Note that information here flows in the exactly opposite
+ // direction than it does for OnDidUpdateFrameOwnerProperties.
+ void OnDidUpdateFrameOwnerCollapsedState(bool collapsed);
+
// 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