| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1171 // Forwards an input event to a child. | 1171 // Forwards an input event to a child. |
| 1172 // TODO(nick): Temporary bridge, revisit once the browser process can route | 1172 // TODO(nick): Temporary bridge, revisit once the browser process can route |
| 1173 // input directly to subframes. http://crbug.com/339659 | 1173 // input directly to subframes. http://crbug.com/339659 |
| 1174 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, | 1174 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, |
| 1175 IPC::WebInputEventPointer /* event */) | 1175 IPC::WebInputEventPointer /* event */) |
| 1176 | 1176 |
| 1177 // Tells the parent that a child's frame rect has changed (or the rect/scroll | 1177 // Tells the parent that a child's frame rect has changed (or the rect/scroll |
| 1178 // position of a child's ancestor has changed). | 1178 // position of a child's ancestor has changed). |
| 1179 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) | 1179 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) |
| 1180 | 1180 |
| 1181 // Informs the child that the frame has changed visibility. |
| 1182 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) |
| 1183 |
| 1181 // Used to tell the parent that the user right clicked on an area of the | 1184 // Used to tell the parent that the user right clicked on an area of the |
| 1182 // content area, and a context menu should be shown for it. The params | 1185 // content area, and a context menu should be shown for it. The params |
| 1183 // object contains information about the node(s) that were selected when the | 1186 // object contains information about the node(s) that were selected when the |
| 1184 // user right clicked. | 1187 // user right clicked. |
| 1185 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 1188 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
| 1186 | 1189 |
| 1187 // Initial drawing parameters for a child frame that has been swapped out to | 1190 // Initial drawing parameters for a child frame that has been swapped out to |
| 1188 // another process. | 1191 // another process. |
| 1189 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, | 1192 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, |
| 1190 gfx::Rect /* frame_rect */, | 1193 gfx::Rect /* frame_rect */, |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1364 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1367 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 1365 FrameHostMsg_ShowPopup_Params) | 1368 FrameHostMsg_ShowPopup_Params) |
| 1366 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1369 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 1367 | 1370 |
| 1368 #endif | 1371 #endif |
| 1369 | 1372 |
| 1370 // Adding a new message? Stick to the sort order above: first platform | 1373 // Adding a new message? Stick to the sort order above: first platform |
| 1371 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1374 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1372 // platform independent FrameHostMsg, then ifdefs for platform specific | 1375 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1373 // FrameHostMsg. | 1376 // FrameHostMsg. |
| OLD | NEW |