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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) | 313 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) |
314 IPC_STRUCT_TRAITS_MEMBER(name) | 314 IPC_STRUCT_TRAITS_MEMBER(name) |
315 IPC_STRUCT_TRAITS_END() | 315 IPC_STRUCT_TRAITS_END() |
316 | 316 |
317 IPC_STRUCT_BEGIN(FrameMsg_NewFrame_WidgetParams) | 317 IPC_STRUCT_BEGIN(FrameMsg_NewFrame_WidgetParams) |
318 // Gives the routing ID for the RenderWidget that will be attached to the | 318 // Gives the routing ID for the RenderWidget that will be attached to the |
319 // new RenderFrame. If the RenderFrame does not need a RenderWidget, this | 319 // new RenderFrame. If the RenderFrame does not need a RenderWidget, this |
320 // is MSG_ROUTING_NONE and the other parameters are not read. | 320 // is MSG_ROUTING_NONE and the other parameters are not read. |
321 IPC_STRUCT_MEMBER(int, routing_id) | 321 IPC_STRUCT_MEMBER(int, routing_id) |
322 | 322 |
323 // Identifier for the output surface for the new RenderWidget. | |
324 IPC_STRUCT_MEMBER(int, surface_id) | |
325 | |
326 // Tells the new RenderWidget whether it is initially hidden. | 323 // Tells the new RenderWidget whether it is initially hidden. |
327 IPC_STRUCT_MEMBER(bool, hidden) | 324 IPC_STRUCT_MEMBER(bool, hidden) |
328 IPC_STRUCT_END() | 325 IPC_STRUCT_END() |
329 | 326 |
330 IPC_STRUCT_BEGIN(FrameMsg_NewFrame_Params) | 327 IPC_STRUCT_BEGIN(FrameMsg_NewFrame_Params) |
331 // Specifies the routing ID of the new RenderFrame object. | 328 // Specifies the routing ID of the new RenderFrame object. |
332 IPC_STRUCT_MEMBER(int, routing_id) | 329 IPC_STRUCT_MEMBER(int, routing_id) |
333 | 330 |
334 // If a valid |proxy_routing_id| is provided, the new frame will be | 331 // If a valid |proxy_routing_id| is provided, the new frame will be |
335 // configured to replace the proxy on commit. | 332 // configured to replace the proxy on commit. |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1177 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1181 FrameHostMsg_ShowPopup_Params) | 1178 FrameHostMsg_ShowPopup_Params) |
1182 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1179 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1183 | 1180 |
1184 #endif | 1181 #endif |
1185 | 1182 |
1186 // Adding a new message? Stick to the sort order above: first platform | 1183 // Adding a new message? Stick to the sort order above: first platform |
1187 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1184 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1188 // platform independent FrameHostMsg, then ifdefs for platform specific | 1185 // platform independent FrameHostMsg, then ifdefs for platform specific |
1189 // FrameHostMsg. | 1186 // FrameHostMsg. |
OLD | NEW |