| 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 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1148 // Forwards an input event to a child. | 1148 // Forwards an input event to a child. |
| 1149 // TODO(nick): Temporary bridge, revisit once the browser process can route | 1149 // TODO(nick): Temporary bridge, revisit once the browser process can route |
| 1150 // input directly to subframes. http://crbug.com/339659 | 1150 // input directly to subframes. http://crbug.com/339659 |
| 1151 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, | 1151 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, |
| 1152 IPC::WebInputEventPointer /* event */) | 1152 IPC::WebInputEventPointer /* event */) |
| 1153 | 1153 |
| 1154 // Tells the parent that a child's frame rect has changed (or the rect/scroll | 1154 // Tells the parent that a child's frame rect has changed (or the rect/scroll |
| 1155 // position of a child's ancestor has changed). | 1155 // position of a child's ancestor has changed). |
| 1156 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) | 1156 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) |
| 1157 | 1157 |
| 1158 // Informs the child that the frame has changed visibility. |
| 1159 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) |
| 1160 |
| 1158 // Used to tell the parent that the user right clicked on an area of the | 1161 // Used to tell the parent that the user right clicked on an area of the |
| 1159 // content area, and a context menu should be shown for it. The params | 1162 // content area, and a context menu should be shown for it. The params |
| 1160 // object contains information about the node(s) that were selected when the | 1163 // object contains information about the node(s) that were selected when the |
| 1161 // user right clicked. | 1164 // user right clicked. |
| 1162 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 1165 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
| 1163 | 1166 |
| 1164 // Initial drawing parameters for a child frame that has been swapped out to | 1167 // Initial drawing parameters for a child frame that has been swapped out to |
| 1165 // another process. | 1168 // another process. |
| 1166 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, | 1169 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, |
| 1167 gfx::Rect /* frame_rect */, | 1170 gfx::Rect /* frame_rect */, |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1339 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1342 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 1340 FrameHostMsg_ShowPopup_Params) | 1343 FrameHostMsg_ShowPopup_Params) |
| 1341 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1344 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 1342 | 1345 |
| 1343 #endif | 1346 #endif |
| 1344 | 1347 |
| 1345 // Adding a new message? Stick to the sort order above: first platform | 1348 // Adding a new message? Stick to the sort order above: first platform |
| 1346 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1349 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1347 // platform independent FrameHostMsg, then ifdefs for platform specific | 1350 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1348 // FrameHostMsg. | 1351 // FrameHostMsg. |
| OLD | NEW |