Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 Loading... | |
| 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. |
| OLD | NEW |