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

Unified Diff: content/common/frame_messages.h

Issue 1414663011: Notifying the Out of Process Renderer about Visibility Change of a Remote Frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 ada844fa3a4b5c80804d9b559ac3ac55e52e93de..3174977db15ec5c0e574c7caed0eff1e2563caef 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -1043,6 +1043,10 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
// position of a child's ancestor has changed).
IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */)
+// Informs the child that the frame has changed visibility. This message will
+// be then forwarded to the guest WebContents.
+IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */)
+
// Used to tell the parent that the user right clicked on an area of the
// content area, and a context menu should be shown for it. The params
// object contains information about the node(s) that were selected when the

Powered by Google App Engine
This is Rietveld 408576698