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 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1141 ResourceType::Type /* resource type */) | 1141 ResourceType::Type /* resource type */) |
1142 | 1142 |
1143 // Sent when the renderer displays insecure content in a secure page. | 1143 // Sent when the renderer displays insecure content in a secure page. |
1144 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) | 1144 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) |
1145 | 1145 |
1146 // Sent when the renderer runs insecure content in a secure origin. | 1146 // Sent when the renderer runs insecure content in a secure origin. |
1147 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, | 1147 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, |
1148 std::string /* security_origin */, | 1148 std::string /* security_origin */, |
1149 GURL /* target URL */) | 1149 GURL /* target URL */) |
1150 | 1150 |
1151 // Sent when the renderer detects an XSS in a page. | |
1152 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidDetectXSS, | |
nasko
2014/06/10 23:21:30
I'd rather see this IPC be routed through RenderFr
| |
1153 int32 /* page_id */, | |
1154 GURL /* url */, | |
1155 bool /* blocked entire page */) | |
1156 | |
1151 // Sent to update part of the view. In response to this message, the host | 1157 // Sent to update part of the view. In response to this message, the host |
1152 // generates a ViewMsg_UpdateRect_ACK message. | 1158 // generates a ViewMsg_UpdateRect_ACK message. |
1153 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1159 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
1154 ViewHostMsg_UpdateRect_Params) | 1160 ViewHostMsg_UpdateRect_Params) |
1155 | 1161 |
1156 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) | 1162 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
1157 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1163 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
1158 | 1164 |
1159 // Message sent from renderer to the browser when focus changes inside the | 1165 // Message sent from renderer to the browser when focus changes inside the |
1160 // webpage. The parameter says whether the newly focused element needs | 1166 // webpage. The parameter says whether the newly focused element needs |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1725 // synchronously (see crbug.com/120597). This IPC message sends the character | 1731 // synchronously (see crbug.com/120597). This IPC message sends the character |
1726 // bounds after every composition change to always have correct bound info. | 1732 // bounds after every composition change to always have correct bound info. |
1727 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1733 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1728 gfx::Range /* composition range */, | 1734 gfx::Range /* composition range */, |
1729 std::vector<gfx::Rect> /* character bounds */) | 1735 std::vector<gfx::Rect> /* character bounds */) |
1730 #endif | 1736 #endif |
1731 | 1737 |
1732 // Adding a new message? Stick to the sort order above: first platform | 1738 // Adding a new message? Stick to the sort order above: first platform |
1733 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1739 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1734 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1740 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |