OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 // The regions of the bitmap (in view coords) that contain updated pixels. | 620 // The regions of the bitmap (in view coords) that contain updated pixels. |
621 // In the case of scrolling, this includes the scroll damage rect. | 621 // In the case of scrolling, this includes the scroll damage rect. |
622 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) | 622 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) |
623 | 623 |
624 // The size of the RenderView when this message was generated. This is | 624 // The size of the RenderView when this message was generated. This is |
625 // included so the host knows how large the view is from the perspective of | 625 // included so the host knows how large the view is from the perspective of |
626 // the renderer process. This is necessary in case a resize operation is in | 626 // the renderer process. This is necessary in case a resize operation is in |
627 // progress. | 627 // progress. |
628 IPC_STRUCT_MEMBER(gfx::Size, view_size) | 628 IPC_STRUCT_MEMBER(gfx::Size, view_size) |
629 | 629 |
| 630 // The size of the web content area. |
| 631 IPC_STRUCT_MEMBER(gfx::Size, contents_size) |
| 632 |
630 // The area of the RenderView reserved for resize corner when this message | 633 // The area of the RenderView reserved for resize corner when this message |
631 // was generated. Reported for the same reason as view_size is. | 634 // was generated. Reported for the same reason as view_size is. |
632 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) | 635 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) |
633 | 636 |
634 // New window locations for plugin child windows. | 637 // New window locations for plugin child windows. |
635 IPC_STRUCT_MEMBER(std::vector<webkit::npapi::WebPluginGeometry>, | 638 IPC_STRUCT_MEMBER(std::vector<webkit::npapi::WebPluginGeometry>, |
636 plugin_window_moves) | 639 plugin_window_moves) |
637 | 640 |
638 // The following describes the various bits that may be set in flags: | 641 // The following describes the various bits that may be set in flags: |
639 // | 642 // |
640 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK | 643 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK |
641 // Indicates that this is a response to a ViewMsg_Resize message. | 644 // Indicates that this is a response to a ViewMsg_Resize message. |
642 // | 645 // |
643 // ViewHostMsg_UpdateRect_Flags::IS_RESTORE_ACK | 646 // ViewHostMsg_UpdateRect_Flags::IS_RESTORE_ACK |
644 // Indicates that this is a response to a ViewMsg_WasRestored message. | 647 // Indicates that this is a response to a ViewMsg_WasRestored message. |
645 // | 648 // |
646 // ViewHostMsg_UpdateRect_Flags::IS_REPAINT_ACK | 649 // ViewHostMsg_UpdateRect_Flags::IS_REPAINT_ACK |
647 // Indicates that this is a response to a ViewMsg_Repaint message. | 650 // Indicates that this is a response to a ViewMsg_Repaint message. |
648 // | 651 // |
649 // If flags is zero, then this message corresponds to an unsoliticed paint | 652 // If flags is zero, then this message corresponds to an unsolicited paint |
650 // request by the render view. Any of the above bits may be set in flags, | 653 // request by the render view. Any of the above bits may be set in flags, |
651 // which would indicate that this paint message is an ACK for multiple | 654 // which would indicate that this paint message is an ACK for multiple |
652 // request messages. | 655 // request messages. |
653 IPC_STRUCT_MEMBER(int, flags) | 656 IPC_STRUCT_MEMBER(int, flags) |
654 IPC_STRUCT_END() | 657 IPC_STRUCT_END() |
655 | 658 |
656 IPC_STRUCT_BEGIN(ViewMsg_SwapOut_Params) | 659 IPC_STRUCT_BEGIN(ViewMsg_SwapOut_Params) |
657 // The identifier of the RenderProcessHost for the currently closing view. | 660 // The identifier of the RenderProcessHost for the currently closing view. |
658 // | 661 // |
659 // These first two parameters are technically redundant since they are | 662 // These first two parameters are technically redundant since they are |
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2052 int32 /* complete status */) | 2055 int32 /* complete status */) |
2053 | 2056 |
2054 // Request updated information about the client firewall traversal policy. | 2057 // Request updated information about the client firewall traversal policy. |
2055 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2058 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2056 // being sent back. | 2059 // being sent back. |
2057 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2060 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2058 | 2061 |
2059 // Notifies the browser of an event occurring in the media pipeline. | 2062 // Notifies the browser of an event occurring in the media pipeline. |
2060 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2063 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
2061 media::MediaLogEvent /* event */) | 2064 media::MediaLogEvent /* event */) |
OLD | NEW |