| 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 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2033 int32 /* complete status */) | 2036 int32 /* complete status */) |
| 2034 | 2037 |
| 2035 // Request updated information about the client firewall traversal policy. | 2038 // Request updated information about the client firewall traversal policy. |
| 2036 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2039 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
| 2037 // being sent back. | 2040 // being sent back. |
| 2038 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2041 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
| 2039 | 2042 |
| 2040 // Notifies the browser of an event occurring in the media pipeline. | 2043 // Notifies the browser of an event occurring in the media pipeline. |
| 2041 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2044 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
| 2042 media::MediaLogEvent /* event */) | 2045 media::MediaLogEvent /* event */) |
| OLD | NEW |