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

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: Added WebContentsImpl::ForwardVisibilityChangeToInnerContents(bool) Created 5 years 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 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 // Forwards an input event to a child. 1079 // Forwards an input event to a child.
1080 // TODO(nick): Temporary bridge, revisit once the browser process can route 1080 // TODO(nick): Temporary bridge, revisit once the browser process can route
1081 // input directly to subframes. http://crbug.com/339659 1081 // input directly to subframes. http://crbug.com/339659
1082 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, 1082 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
1083 IPC::WebInputEventPointer /* event */) 1083 IPC::WebInputEventPointer /* event */)
1084 1084
1085 // Tells the parent that a child's frame rect has changed (or the rect/scroll 1085 // Tells the parent that a child's frame rect has changed (or the rect/scroll
1086 // position of a child's ancestor has changed). 1086 // position of a child's ancestor has changed).
1087 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) 1087 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */)
1088 1088
1089 // Informs the child that the frame has changed visibility.
1090 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */)
1091
1089 // Used to tell the parent that the user right clicked on an area of the 1092 // Used to tell the parent that the user right clicked on an area of the
1090 // content area, and a context menu should be shown for it. The params 1093 // content area, and a context menu should be shown for it. The params
1091 // object contains information about the node(s) that were selected when the 1094 // object contains information about the node(s) that were selected when the
1092 // user right clicked. 1095 // user right clicked.
1093 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 1096 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
1094 1097
1095 // Initial drawing parameters for a child frame that has been swapped out to 1098 // Initial drawing parameters for a child frame that has been swapped out to
1096 // another process. 1099 // another process.
1097 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, 1100 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame,
1098 gfx::Rect /* frame_rect */, 1101 gfx::Rect /* frame_rect */,
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1259 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1257 FrameHostMsg_ShowPopup_Params) 1260 FrameHostMsg_ShowPopup_Params)
1258 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1261 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1259 1262
1260 #endif 1263 #endif
1261 1264
1262 // Adding a new message? Stick to the sort order above: first platform 1265 // Adding a new message? Stick to the sort order above: first platform
1263 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1266 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1264 // platform independent FrameHostMsg, then ifdefs for platform specific 1267 // platform independent FrameHostMsg, then ifdefs for platform specific
1265 // FrameHostMsg. 1268 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698