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

Side by Side 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: Changed "Guest" to "InnerContents" 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "cc/surfaces/surface_id.h" 8 #include "cc/surfaces/surface_id.h"
9 #include "cc/surfaces/surface_sequence.h" 9 #include "cc/surfaces/surface_sequence.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 // Forwards an input event to a child. 1072 // Forwards an input event to a child.
1073 // TODO(nick): Temporary bridge, revisit once the browser process can route 1073 // TODO(nick): Temporary bridge, revisit once the browser process can route
1074 // input directly to subframes. http://crbug.com/339659 1074 // input directly to subframes. http://crbug.com/339659
1075 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, 1075 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
1076 IPC::WebInputEventPointer /* event */) 1076 IPC::WebInputEventPointer /* event */)
1077 1077
1078 // Tells the parent that a child's frame rect has changed (or the rect/scroll 1078 // Tells the parent that a child's frame rect has changed (or the rect/scroll
1079 // position of a child's ancestor has changed). 1079 // position of a child's ancestor has changed).
1080 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) 1080 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */)
1081 1081
1082 // Informs the child that the frame has changed visibility. This message will
1083 // be then forwarded to the guest WebContents.
Charlie Reis 2015/11/20 23:35:29 nit: guest -> inner. It's also not clear to me fr
EhsanK 2015/12/07 16:10:15 The second sentence was confusing so I removed it.
1084 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */)
1085
1082 // Used to tell the parent that the user right clicked on an area of the 1086 // Used to tell the parent that the user right clicked on an area of the
1083 // content area, and a context menu should be shown for it. The params 1087 // content area, and a context menu should be shown for it. The params
1084 // object contains information about the node(s) that were selected when the 1088 // object contains information about the node(s) that were selected when the
1085 // user right clicked. 1089 // user right clicked.
1086 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 1090 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
1087 1091
1088 // Initial drawing parameters for a child frame that has been swapped out to 1092 // Initial drawing parameters for a child frame that has been swapped out to
1089 // another process. 1093 // another process.
1090 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, 1094 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame,
1091 gfx::Rect /* frame_rect */, 1095 gfx::Rect /* frame_rect */,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1240 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1237 FrameHostMsg_ShowPopup_Params) 1241 FrameHostMsg_ShowPopup_Params)
1238 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1242 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1239 1243
1240 #endif 1244 #endif
1241 1245
1242 // Adding a new message? Stick to the sort order above: first platform 1246 // Adding a new message? Stick to the sort order above: first platform
1243 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1247 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1244 // platform independent FrameHostMsg, then ifdefs for platform specific 1248 // platform independent FrameHostMsg, then ifdefs for platform specific
1245 // FrameHostMsg. 1249 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698