| 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 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1129 | 1129 |
| 1130 // Sent when the renderer loads a resource from its memory cache. | 1130 // Sent when the renderer loads a resource from its memory cache. |
| 1131 // The security info is non empty if the resource was originally loaded over | 1131 // The security info is non empty if the resource was originally loaded over |
| 1132 // a secure connection. | 1132 // a secure connection. |
| 1133 // Note: May only be sent once per URL per frame per committed load. | 1133 // Note: May only be sent once per URL per frame per committed load. |
| 1134 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidLoadResourceFromMemoryCache, | 1134 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidLoadResourceFromMemoryCache, |
| 1135 GURL /* url */, | 1135 GURL /* url */, |
| 1136 std::string /* security info */, | 1136 std::string /* security info */, |
| 1137 std::string /* http method */, | 1137 std::string /* http method */, |
| 1138 std::string /* mime type */, | 1138 std::string /* mime type */, |
| 1139 content::ResourceType::Type /* resource type */) | 1139 content::ResourceType /* resource type */) |
| 1140 | 1140 |
| 1141 // Sent when the renderer displays insecure content in a secure page. | 1141 // Sent when the renderer displays insecure content in a secure page. |
| 1142 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) | 1142 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) |
| 1143 | 1143 |
| 1144 // Sent when the renderer runs insecure content in a secure origin. | 1144 // Sent when the renderer runs insecure content in a secure origin. |
| 1145 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, | 1145 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, |
| 1146 std::string /* security_origin */, | 1146 std::string /* security_origin */, |
| 1147 GURL /* target URL */) | 1147 GURL /* target URL */) |
| 1148 | 1148 |
| 1149 // Sent to update part of the view. In response to this message, the host | 1149 // Sent to update part of the view. In response to this message, the host |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1682 // Since the browser keeps handles to the allocated transport DIBs, this | 1682 // Since the browser keeps handles to the allocated transport DIBs, this |
| 1683 // message is sent to tell the browser that it may release them when the | 1683 // message is sent to tell the browser that it may release them when the |
| 1684 // renderer is finished with them. | 1684 // renderer is finished with them. |
| 1685 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1685 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 1686 TransportDIB::Id /* DIB id */) | 1686 TransportDIB::Id /* DIB id */) |
| 1687 #endif | 1687 #endif |
| 1688 | 1688 |
| 1689 // Adding a new message? Stick to the sort order above: first platform | 1689 // Adding a new message? Stick to the sort order above: first platform |
| 1690 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1690 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1691 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1691 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |