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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 10 #include "content/common/frame_message_enums.h"
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 // input directly to subframes. http://crbug.com/339659 549 // input directly to subframes. http://crbug.com/339659
550 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, 550 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
551 IPC::WebInputEventPointer /* event */) 551 IPC::WebInputEventPointer /* event */)
552 552
553 // Used to tell the parent that the user right clicked on an area of the 553 // Used to tell the parent that the user right clicked on an area of the
554 // content area, and a context menu should be shown for it. The params 554 // content area, and a context menu should be shown for it. The params
555 // object contains information about the node(s) that were selected when the 555 // object contains information about the node(s) that were selected when the
556 // user right clicked. 556 // user right clicked.
557 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 557 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
558 558
559 // Sent when the renderer detects an XSS in a page.
560 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidDetectXSS,
561 int32 /* page_id */,
562 GURL /* url */,
563 bool /* blocked entire page */)
564
559 // Initial drawing parameters for a child frame that has been swapped out to 565 // Initial drawing parameters for a child frame that has been swapped out to
560 // another process. 566 // another process.
561 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, 567 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame,
562 gfx::Rect /* frame_rect */, 568 gfx::Rect /* frame_rect */,
563 float /* scale_factor */) 569 float /* scale_factor */)
564 570
565 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was 571 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was
566 // requested. The ID is the parameter supplied to 572 // requested. The ID is the parameter supplied to
567 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the 573 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the
568 // script as its only element, one of Null, Boolean, Integer, Real, Date, or 574 // script as its only element, one of Null, Boolean, Integer, Real, Date, or
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 618
613 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, 619 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification,
614 int64 /* player_cookie, distinguishes instances */) 620 int64 /* player_cookie, distinguishes instances */)
615 621
616 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and 622 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and
617 // |endOffset| are the offsets of the selection in the returned |content|. 623 // |endOffset| are the offsets of the selection in the returned |content|.
618 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, 624 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
619 base::string16, /* content */ 625 base::string16, /* content */
620 size_t, /* startOffset */ 626 size_t, /* startOffset */
621 size_t /* endOffset */) 627 size_t /* endOffset */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698