| 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 // The name of the frame associated with this view (or empty if none). | 436 // The name of the frame associated with this view (or empty if none). |
| 436 IPC_STRUCT_MEMBER(base::string16, frame_name) | 437 IPC_STRUCT_MEMBER(base::string16, frame_name) |
| 437 | 438 |
| 438 // The route ID of the opener RenderView if we need to set one | 439 // The route ID of the opener RenderView if we need to set one |
| 439 // (MSG_ROUTING_NONE otherwise). | 440 // (MSG_ROUTING_NONE otherwise). |
| 440 IPC_STRUCT_MEMBER(int, opener_route_id) | 441 IPC_STRUCT_MEMBER(int, opener_route_id) |
| 441 | 442 |
| 442 // Whether the RenderView should initially be swapped out. | 443 // Whether the RenderView should initially be swapped out. |
| 443 IPC_STRUCT_MEMBER(bool, swapped_out) | 444 IPC_STRUCT_MEMBER(bool, swapped_out) |
| 444 | 445 |
| 446 // In --site-per-process mode, if this view is |swapped_out|, its main frame |
| 447 // will become a RenderFrameProxy. |remote_frame_state| is used to replicate |
| 448 // information such as security origin to that RenderFrameProxy. |
| 449 IPC_STRUCT_MEMBER(content::FrameReplicationState, remote_frame_state) |
| 450 |
| 445 // The ID of the proxy object for the main frame in this view. It is only | 451 // The ID of the proxy object for the main frame in this view. It is only |
| 446 // used if |swapped_out| is true. | 452 // used if |swapped_out| is true. |
| 447 IPC_STRUCT_MEMBER(int32, proxy_routing_id) | 453 IPC_STRUCT_MEMBER(int32, proxy_routing_id) |
| 448 | 454 |
| 449 // Whether the RenderView should initially be hidden. | 455 // Whether the RenderView should initially be hidden. |
| 450 IPC_STRUCT_MEMBER(bool, hidden) | 456 IPC_STRUCT_MEMBER(bool, hidden) |
| 451 | 457 |
| 452 // Whether the RenderView will never be visible. | 458 // Whether the RenderView will never be visible. |
| 453 IPC_STRUCT_MEMBER(bool, never_visible) | 459 IPC_STRUCT_MEMBER(bool, never_visible) |
| 454 | 460 |
| (...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1644 // Since the browser keeps handles to the allocated transport DIBs, this | 1650 // Since the browser keeps handles to the allocated transport DIBs, this |
| 1645 // message is sent to tell the browser that it may release them when the | 1651 // message is sent to tell the browser that it may release them when the |
| 1646 // renderer is finished with them. | 1652 // renderer is finished with them. |
| 1647 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1653 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 1648 TransportDIB::Id /* DIB id */) | 1654 TransportDIB::Id /* DIB id */) |
| 1649 #endif | 1655 #endif |
| 1650 | 1656 |
| 1651 // Adding a new message? Stick to the sort order above: first platform | 1657 // Adding a new message? Stick to the sort order above: first platform |
| 1652 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1658 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1653 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1659 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |