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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 IPC_STRUCT_MEMBER(string16, frame_name) | 741 IPC_STRUCT_MEMBER(string16, frame_name) |
742 IPC_STRUCT_END() | 742 IPC_STRUCT_END() |
743 | 743 |
744 // Messages sent from the browser to the renderer. | 744 // Messages sent from the browser to the renderer. |
745 | 745 |
746 // Used typically when recovering from a crash. The new rendering process | 746 // Used typically when recovering from a crash. The new rendering process |
747 // sets its global "next page id" counter to the given value. | 747 // sets its global "next page id" counter to the given value. |
748 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, | 748 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, |
749 int32 /* next_page_id */) | 749 int32 /* next_page_id */) |
750 | 750 |
751 // Sent to the RenderView when a prerendered or instant page is committed | 751 // Sent to the RenderView when a new tab is swapped into an existing |
752 // to an existing tab. The existing tab has a history of | 752 // tab and the histories need to be merged. The existing tab has a history of |
753 // |merged_history_length| which precedes the current history of pages | 753 // |merged_history_length| which precedes the history of the new tab. All |
754 // in the render view. All page_ids >= |minimum_page_id| are appended to | 754 // page_ids >= |minimum_page_id| in the new tab are appended to the history. |
755 // this new history in the same order. | |
756 // | 755 // |
757 // For example, suppose the history of page_ids in the instant RenderView | 756 // For example, suppose the history of page_ids in the new tab's RenderView |
758 // is [4 7 8]. This instant RenderView is committed, and merged into | 757 // is [4 7 8]. This is merged into an existing tab with 3 history items, and |
759 // an existing tab with 3 history items, with every page with page_id >= 7 | 758 // all pages in the new tab with page_id >= 7 are to be preserved. |
760 // is preserved. The resulting page history is [-1 -1 -1 7 8]. | 759 // The resulting page history is [-1 -1 -1 7 8]. |
761 IPC_MESSAGE_ROUTED2(ViewMsg_SetHistoryLengthAndPrune, | 760 IPC_MESSAGE_ROUTED2(ViewMsg_SetHistoryLengthAndPrune, |
762 int, /* merge_history_length */ | 761 int, /* merge_history_length */ |
763 int32 /* minimum_page_id */) | 762 int32 /* minimum_page_id */) |
764 | 763 |
765 // Sends System Colors corresponding to a set of CSS color keywords | 764 // Sends System Colors corresponding to a set of CSS color keywords |
766 // down the pipe. | 765 // down the pipe. |
767 // This message must be sent to the renderer immediately on launch | 766 // This message must be sent to the renderer immediately on launch |
768 // before creating any new views. | 767 // before creating any new views. |
769 // The message can also be sent during a renderer's lifetime if system colors | 768 // The message can also be sent during a renderer's lifetime if system colors |
770 // are updated. | 769 // are updated. |
(...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2072 int32 /* complete status */) | 2071 int32 /* complete status */) |
2073 | 2072 |
2074 // Request updated information about the client firewall traversal policy. | 2073 // Request updated information about the client firewall traversal policy. |
2075 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2074 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2076 // being sent back. | 2075 // being sent back. |
2077 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2076 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2078 | 2077 |
2079 // Notifies the browser of an event occurring in the media pipeline. | 2078 // Notifies the browser of an event occurring in the media pipeline. |
2080 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2079 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
2081 media::MediaLogEvent /* event */) | 2080 media::MediaLogEvent /* event */) |
OLD | NEW |