OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1068 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) | 1068 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) |
1069 | 1069 |
1070 // Notifies the browser that we have session history information. | 1070 // Notifies the browser that we have session history information. |
1071 // page_id: unique ID that allows us to distinguish between history entries. | 1071 // page_id: unique ID that allows us to distinguish between history entries. |
1072 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | 1072 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, |
1073 int32 /* page_id */, | 1073 int32 /* page_id */, |
1074 content::PageState /* state */) | 1074 content::PageState /* state */) |
1075 | 1075 |
1076 // Notifies the browser that we want to show a destination url for a potential | 1076 // Notifies the browser that we want to show a destination url for a potential |
1077 // action (e.g. when the user is hovering over a link). | 1077 // action (e.g. when the user is hovering over a link). |
1078 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, | 1078 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateTargetURL, |
1079 int32, | |
1080 GURL) | 1079 GURL) |
1081 | 1080 |
1082 // Sent when the document element is available for the top-level frame. This | 1081 // Sent when the document element is available for the top-level frame. This |
1083 // happens after the page starts loading, but before all resources are | 1082 // happens after the page starts loading, but before all resources are |
1084 // finished. | 1083 // finished. |
1085 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentAvailableInMainFrame, | 1084 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentAvailableInMainFrame, |
1086 bool /* uses_temporary_zoom_level */) | 1085 bool /* uses_temporary_zoom_level */) |
1087 | 1086 |
1088 // Sent when the renderer loads a resource from its memory cache. | 1087 // Sent when the renderer loads a resource from its memory cache. |
1089 // The security info is non empty if the resource was originally loaded over | 1088 // The security info is non empty if the resource was originally loaded over |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1633 // Since the browser keeps handles to the allocated transport DIBs, this | 1632 // Since the browser keeps handles to the allocated transport DIBs, this |
1634 // message is sent to tell the browser that it may release them when the | 1633 // message is sent to tell the browser that it may release them when the |
1635 // renderer is finished with them. | 1634 // renderer is finished with them. |
1636 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1635 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1637 TransportDIB::Id /* DIB id */) | 1636 TransportDIB::Id /* DIB id */) |
1638 #endif | 1637 #endif |
1639 | 1638 |
1640 // Adding a new message? Stick to the sort order above: first platform | 1639 // Adding a new message? Stick to the sort order above: first platform |
1641 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1640 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1642 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1641 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |