OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "cc/output/begin_frame_args.h" | 11 #include "cc/output/begin_frame_args.h" |
12 #include "cc/output/compositor_frame.h" | 12 #include "cc/output/compositor_frame.h" |
13 #include "cc/output/compositor_frame_ack.h" | 13 #include "cc/output/compositor_frame_ack.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "content/common/content_param_traits.h" | 15 #include "content/common/content_param_traits.h" |
16 #include "content/common/cookie_data.h" | 16 #include "content/common/cookie_data.h" |
17 #include "content/common/date_time_suggestion.h" | 17 #include "content/common/date_time_suggestion.h" |
| 18 #include "content/common/frame_replication_state.h" |
18 #include "content/common/navigation_gesture.h" | 19 #include "content/common/navigation_gesture.h" |
19 #include "content/common/view_message_enums.h" | 20 #include "content/common/view_message_enums.h" |
20 #include "content/common/webplugin_geometry.h" | 21 #include "content/common/webplugin_geometry.h" |
21 #include "content/public/common/common_param_traits.h" | 22 #include "content/public/common/common_param_traits.h" |
22 #include "content/public/common/favicon_url.h" | 23 #include "content/public/common/favicon_url.h" |
23 #include "content/public/common/file_chooser_file_info.h" | 24 #include "content/public/common/file_chooser_file_info.h" |
24 #include "content/public/common/file_chooser_params.h" | 25 #include "content/public/common/file_chooser_params.h" |
25 #include "content/public/common/menu_item.h" | 26 #include "content/public/common/menu_item.h" |
26 #include "content/public/common/page_state.h" | 27 #include "content/public/common/page_state.h" |
27 #include "content/public/common/page_zoom.h" | 28 #include "content/public/common/page_zoom.h" |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 // The name of the frame associated with this view (or empty if none). | 456 // The name of the frame associated with this view (or empty if none). |
456 IPC_STRUCT_MEMBER(base::string16, frame_name) | 457 IPC_STRUCT_MEMBER(base::string16, frame_name) |
457 | 458 |
458 // The route ID of the opener RenderView if we need to set one | 459 // The route ID of the opener RenderView if we need to set one |
459 // (MSG_ROUTING_NONE otherwise). | 460 // (MSG_ROUTING_NONE otherwise). |
460 IPC_STRUCT_MEMBER(int, opener_route_id) | 461 IPC_STRUCT_MEMBER(int, opener_route_id) |
461 | 462 |
462 // Whether the RenderView should initially be swapped out. | 463 // Whether the RenderView should initially be swapped out. |
463 IPC_STRUCT_MEMBER(bool, swapped_out) | 464 IPC_STRUCT_MEMBER(bool, swapped_out) |
464 | 465 |
| 466 // In --site-per-process mode, if this view is |swapped_out|, its main frame |
| 467 // will become a RenderFrameProxy. |replicated_frame_state| is used to |
| 468 // replicate information such as security origin to that RenderFrameProxy. |
| 469 IPC_STRUCT_MEMBER(content::FrameReplicationState, replicated_frame_state) |
| 470 |
465 // The ID of the proxy object for the main frame in this view. It is only | 471 // The ID of the proxy object for the main frame in this view. It is only |
466 // used if |swapped_out| is true. | 472 // used if |swapped_out| is true. |
467 IPC_STRUCT_MEMBER(int32, proxy_routing_id) | 473 IPC_STRUCT_MEMBER(int32, proxy_routing_id) |
468 | 474 |
469 // Whether the RenderView should initially be hidden. | 475 // Whether the RenderView should initially be hidden. |
470 IPC_STRUCT_MEMBER(bool, hidden) | 476 IPC_STRUCT_MEMBER(bool, hidden) |
471 | 477 |
472 // Whether the RenderView will never be visible. | 478 // Whether the RenderView will never be visible. |
473 IPC_STRUCT_MEMBER(bool, never_visible) | 479 IPC_STRUCT_MEMBER(bool, never_visible) |
474 | 480 |
(...skipping 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1663 // Since the browser keeps handles to the allocated transport DIBs, this | 1669 // Since the browser keeps handles to the allocated transport DIBs, this |
1664 // message is sent to tell the browser that it may release them when the | 1670 // message is sent to tell the browser that it may release them when the |
1665 // renderer is finished with them. | 1671 // renderer is finished with them. |
1666 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1672 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1667 TransportDIB::Id /* DIB id */) | 1673 TransportDIB::Id /* DIB id */) |
1668 #endif | 1674 #endif |
1669 | 1675 |
1670 // Adding a new message? Stick to the sort order above: first platform | 1676 // Adding a new message? Stick to the sort order above: first platform |
1671 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1677 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1672 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1678 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |