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

Unified Diff: content/common/frame_messages.h

Issue 1914643005: Add support for entering/exiting HTML fullscreen from OOPIFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index e514f2d3f560c1809f14992889077174644639d6..4f101147ff95de94f4c6de9d9026b174378f4357 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -788,6 +788,14 @@ IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateOrigin,
// support cross-process focused frame changes.
IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame)
+// Sent when an element in a cross-process subframe of this frame is preparing
+// to go fullscreen. |fullscreen_frame_routing_id| identifies the subframe
+// proxy which will contain the fullscreen element. Actually entering
+// fullscreen will be done separately as part of ViewMsg_Resize, once this
+// frame's widget is resized for fullscreen.
+IPC_MESSAGE_ROUTED1(FrameMsg_WillEnterFullscreen,
+ int /* fullscreen_frame_routing_id */)
+
// Send to the RenderFrame to set text tracks state and style settings.
// Sent for top-level frames.
IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings,

Powered by Google App Engine
This is Rietveld 408576698