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

Unified Diff: content/common/frame_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: Add xss_detected_ bool and use it. 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 side-by-side diff with in-line comments
Download patch
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 6db0b9d60e8f2a394fb3a15a47d08dbf70b4ee02..9b5ce8601a85df6eb0c7c34d6c21880dea5a4a34 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -556,6 +556,12 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
// user right clicked.
IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
+// Sent when the renderer detects an XSS in a page.
+IPC_MESSAGE_ROUTED3(FrameHostMsg_DidDetectXSS,
+ int32 /* page_id */,
+ GURL /* url */,
+ bool /* blocked entire page */)
+
// Initial drawing parameters for a child frame that has been swapped out to
// another process.
IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame,

Powered by Google App Engine
This is Rietveld 408576698