| 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 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1036 // Forwards an input event to a child. | 1036 // Forwards an input event to a child. |
| 1037 // TODO(nick): Temporary bridge, revisit once the browser process can route | 1037 // TODO(nick): Temporary bridge, revisit once the browser process can route |
| 1038 // input directly to subframes. http://crbug.com/339659 | 1038 // input directly to subframes. http://crbug.com/339659 |
| 1039 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, | 1039 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, |
| 1040 IPC::WebInputEventPointer /* event */) | 1040 IPC::WebInputEventPointer /* event */) |
| 1041 | 1041 |
| 1042 // Tells the parent that a child's frame rect has changed (or the rect/scroll | 1042 // Tells the parent that a child's frame rect has changed (or the rect/scroll |
| 1043 // position of a child's ancestor has changed). | 1043 // position of a child's ancestor has changed). |
| 1044 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) | 1044 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) |
| 1045 | 1045 |
| 1046 // Informs the child that the frame has changed visibility. This message will |
| 1047 // be then forwarded to the guest WebContents. |
| 1048 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) |
| 1049 |
| 1046 // Used to tell the parent that the user right clicked on an area of the | 1050 // Used to tell the parent that the user right clicked on an area of the |
| 1047 // content area, and a context menu should be shown for it. The params | 1051 // content area, and a context menu should be shown for it. The params |
| 1048 // object contains information about the node(s) that were selected when the | 1052 // object contains information about the node(s) that were selected when the |
| 1049 // user right clicked. | 1053 // user right clicked. |
| 1050 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 1054 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
| 1051 | 1055 |
| 1052 // Initial drawing parameters for a child frame that has been swapped out to | 1056 // Initial drawing parameters for a child frame that has been swapped out to |
| 1053 // another process. | 1057 // another process. |
| 1054 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, | 1058 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, |
| 1055 gfx::Rect /* frame_rect */, | 1059 gfx::Rect /* frame_rect */, |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1205 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 1202 FrameHostMsg_ShowPopup_Params) | 1206 FrameHostMsg_ShowPopup_Params) |
| 1203 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1207 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 1204 | 1208 |
| 1205 #endif | 1209 #endif |
| 1206 | 1210 |
| 1207 // Adding a new message? Stick to the sort order above: first platform | 1211 // Adding a new message? Stick to the sort order above: first platform |
| 1208 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1212 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1209 // platform independent FrameHostMsg, then ifdefs for platform specific | 1213 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1210 // FrameHostMsg. | 1214 // FrameHostMsg. |
| OLD | NEW |