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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
737 IPC_STRUCT_MEMBER(string16, frame_name) | 737 IPC_STRUCT_MEMBER(string16, frame_name) |
738 IPC_STRUCT_END() | 738 IPC_STRUCT_END() |
739 | 739 |
740 // Messages sent from the browser to the renderer. | 740 // Messages sent from the browser to the renderer. |
741 | 741 |
742 // Used typically when recovering from a crash. The new rendering process | 742 // Used typically when recovering from a crash. The new rendering process |
743 // sets its global "next page id" counter to the given value. | 743 // sets its global "next page id" counter to the given value. |
744 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, | 744 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, |
745 int32 /* next_page_id */) | 745 int32 /* next_page_id */) |
746 | 746 |
747 // Used to fix page_id offsets when pruning history. | |
brettw
2011/08/09 18:14:40
Can you expand on this? It doesn't actually tell w
cbentzel
2011/08/09 18:21:14
This impacts Instant as well [and yes, names are c
brettw
2011/08/09 19:38:34
This would be a great example to put in the commen
| |
748 IPC_MESSAGE_ROUTED1(ViewMsg_OffsetAndPruneHistory, | |
749 int32 /* offset */) | |
750 | |
747 // Sends System Colors corresponding to a set of CSS color keywords | 751 // Sends System Colors corresponding to a set of CSS color keywords |
748 // down the pipe. | 752 // down the pipe. |
749 // This message must be sent to the renderer immediately on launch | 753 // This message must be sent to the renderer immediately on launch |
750 // before creating any new views. | 754 // before creating any new views. |
751 // The message can also be sent during a renderer's lifetime if system colors | 755 // The message can also be sent during a renderer's lifetime if system colors |
752 // are updated. | 756 // are updated. |
753 // TODO(jeremy): Possibly change IPC format once we have this all hooked up. | 757 // TODO(jeremy): Possibly change IPC format once we have this all hooked up. |
754 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors, | 758 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors, |
755 std::vector<CSSColors::CSSColorMapping>) | 759 std::vector<CSSColors::CSSColorMapping>) |
756 | 760 |
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2040 int32 /* complete status */) | 2044 int32 /* complete status */) |
2041 | 2045 |
2042 // Request updated information about the client firewall traversal policy. | 2046 // Request updated information about the client firewall traversal policy. |
2043 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2047 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2044 // being sent back. | 2048 // being sent back. |
2045 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2049 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2046 | 2050 |
2047 // Notifies the browser of an event occurring in the media pipeline. | 2051 // Notifies the browser of an event occurring in the media pipeline. |
2048 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2052 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
2049 media::MediaLogEvent /* event */) | 2053 media::MediaLogEvent /* event */) |
OLD | NEW |