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 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1179 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, | 1179 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, |
1180 GURL /* url of page which is needed to save */) | 1180 GURL /* url of page which is needed to save */) |
1181 | 1181 |
1182 // Get html data by serializing all frames of current page with lists | 1182 // Get html data by serializing all frames of current page with lists |
1183 // which contain all resource links that have local copy. | 1183 // which contain all resource links that have local copy. |
1184 IPC_MESSAGE_ROUTED3(ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, | 1184 IPC_MESSAGE_ROUTED3(ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, |
1185 std::vector<GURL> /* urls that have local copy */, | 1185 std::vector<GURL> /* urls that have local copy */, |
1186 std::vector<FilePath> /* paths of local copy */, | 1186 std::vector<FilePath> /* paths of local copy */, |
1187 FilePath /* local directory path */) | 1187 FilePath /* local directory path */) |
1188 | 1188 |
1189 // Sends updated information about the client firewall traversal policy. | |
1190 // |traversal_data| is a json string containing policy information. | |
1191 // Sent due to a policy change or in response to a | |
1192 // ViewHostMsg_RequestRemoteAccessClientFirewallTraversal message. | |
1193 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateRemoteAccessClientFirewallTraversal, | |
1194 std::string /* traversal_data */) | |
1195 | |
1196 // Tells the render side that a ViewHostMsg_LockMouse message has been | 1189 // Tells the render side that a ViewHostMsg_LockMouse message has been |
1197 // processed. |succeeded| indicates whether the mouse has been successfully | 1190 // processed. |succeeded| indicates whether the mouse has been successfully |
1198 // locked or not. | 1191 // locked or not. |
1199 IPC_MESSAGE_ROUTED1(ViewMsg_LockMouse_ACK, | 1192 IPC_MESSAGE_ROUTED1(ViewMsg_LockMouse_ACK, |
1200 bool /* succeeded */) | 1193 bool /* succeeded */) |
1201 // Tells the render side that the mouse has been unlocked. | 1194 // Tells the render side that the mouse has been unlocked. |
1202 IPC_MESSAGE_ROUTED0(ViewMsg_MouseLockLost) | 1195 IPC_MESSAGE_ROUTED0(ViewMsg_MouseLockLost) |
1203 | 1196 |
1204 // These three messages are sent to the parent RenderViewHost to display the | 1197 // These three messages are sent to the parent RenderViewHost to display the |
1205 // page/widget that was created by | 1198 // page/widget that was created by |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1936 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 1929 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
1937 std::vector<GURL> /* all savable resource links */, | 1930 std::vector<GURL> /* all savable resource links */, |
1938 std::vector<GURL> /* all referrers of resource links */, | 1931 std::vector<GURL> /* all referrers of resource links */, |
1939 std::vector<GURL> /* all frame links */) | 1932 std::vector<GURL> /* all frame links */) |
1940 | 1933 |
1941 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, | 1934 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, |
1942 GURL /* frame's url */, | 1935 GURL /* frame's url */, |
1943 std::string /* data buffer */, | 1936 std::string /* data buffer */, |
1944 int32 /* complete status */) | 1937 int32 /* complete status */) |
1945 | 1938 |
1946 // Request updated information about the client firewall traversal policy. | |
1947 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | |
1948 // being sent back. | |
1949 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | |
1950 | |
1951 // Notifies the browser of an event occurring in the media pipeline. | 1939 // Notifies the browser of an event occurring in the media pipeline. |
1952 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 1940 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
1953 media::MediaLogEvent /* event */) | 1941 media::MediaLogEvent /* event */) |
1954 | 1942 |
1955 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1943 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1956 // being sent back. | 1944 // being sent back. |
1957 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1945 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1958 | 1946 |
1959 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1947 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1960 // whenever the mouse is unlocked (which may or may not be caused by | 1948 // whenever the mouse is unlocked (which may or may not be caused by |
1961 // ViewHostMsg_UnlockMouse). | 1949 // ViewHostMsg_UnlockMouse). |
1962 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1950 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |