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

Unified Diff: content/common/frame_messages.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/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 35126af5ae7246371ac44de403868e75c78c3e96..5035cb64402bfea73afbc37a1b5dbcc617bca148 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -757,6 +757,11 @@ IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode,
// Dispatch a load event in the iframe element containing this frame.
IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad)
+// Sent to a subframe to control whether to collapse its the frame owner element
+// in the embedder document, that is, to remove it from the layout as if it did
+// not exist.
+IPC_MESSAGE_ROUTED1(FrameMsg_Collapse, bool /* collapsed */)
+
// Notifies the frame that its parent has changed the frame's sandbox flags.
IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags)

Powered by Google App Engine
This is Rietveld 408576698