Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: content/common/view_messages.h

Issue 304313003: Allow view-source of pages fully-blocked by Blink's XSS filter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove stray debugging include. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 ResourceType::Type /* resource type */) 1135 ResourceType::Type /* resource type */)
1136 1136
1137 // Sent when the renderer displays insecure content in a secure page. 1137 // Sent when the renderer displays insecure content in a secure page.
1138 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) 1138 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent)
1139 1139
1140 // Sent when the renderer runs insecure content in a secure origin. 1140 // Sent when the renderer runs insecure content in a secure origin.
1141 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, 1141 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent,
1142 std::string /* security_origin */, 1142 std::string /* security_origin */,
1143 GURL /* target URL */) 1143 GURL /* target URL */)
1144 1144
1145 // Sent when the renderer detects an XSS in a page.
1146 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidDetectXSS,
1147 GURL /* url */,
1148 bool /* blocked entire page */)
1149
1145 // Sent to update part of the view. In response to this message, the host 1150 // Sent to update part of the view. In response to this message, the host
1146 // generates a ViewMsg_UpdateRect_ACK message. 1151 // generates a ViewMsg_UpdateRect_ACK message.
1147 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, 1152 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect,
1148 ViewHostMsg_UpdateRect_Params) 1153 ViewHostMsg_UpdateRect_Params)
1149 1154
1150 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) 1155 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
1151 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) 1156 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
1152 1157
1153 // Message sent from renderer to the browser when focus changes inside the 1158 // Message sent from renderer to the browser when focus changes inside the
1154 // webpage. The parameter says whether the newly focused element needs 1159 // webpage. The parameter says whether the newly focused element needs
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 // synchronously (see crbug.com/120597). This IPC message sends the character 1728 // synchronously (see crbug.com/120597). This IPC message sends the character
1724 // bounds after every composition change to always have correct bound info. 1729 // bounds after every composition change to always have correct bound info.
1725 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1730 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1726 gfx::Range /* composition range */, 1731 gfx::Range /* composition range */,
1727 std::vector<gfx::Rect> /* character bounds */) 1732 std::vector<gfx::Rect> /* character bounds */)
1728 #endif 1733 #endif
1729 1734
1730 // Adding a new message? Stick to the sort order above: first platform 1735 // Adding a new message? Stick to the sort order above: first platform
1731 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1736 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1732 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1737 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698