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

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: Rebase for landing. Created 6 years, 5 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 // input directly to subframes. http://crbug.com/339659 539 // input directly to subframes. http://crbug.com/339659
540 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, 540 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
541 IPC::WebInputEventPointer /* event */) 541 IPC::WebInputEventPointer /* event */)
542 542
543 // Used to tell the parent that the user right clicked on an area of the 543 // Used to tell the parent that the user right clicked on an area of the
544 // content area, and a context menu should be shown for it. The params 544 // content area, and a context menu should be shown for it. The params
545 // object contains information about the node(s) that were selected when the 545 // object contains information about the node(s) that were selected when the
546 // user right clicked. 546 // user right clicked.
547 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 547 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
548 548
549 // Sent when the renderer detects an XSS in a page.
550 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidDetectXSS,
551 int32 /* page_id */,
552 GURL /* url */,
553 bool /* blocked entire page */)
554
549 // Initial drawing parameters for a child frame that has been swapped out to 555 // Initial drawing parameters for a child frame that has been swapped out to
550 // another process. 556 // another process.
551 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, 557 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame,
552 gfx::Rect /* frame_rect */, 558 gfx::Rect /* frame_rect */,
553 float /* scale_factor */) 559 float /* scale_factor */)
554 560
555 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was 561 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was
556 // requested. The ID is the parameter supplied to 562 // requested. The ID is the parameter supplied to
557 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the 563 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the
558 // script as its only element, one of Null, Boolean, Integer, Real, Date, or 564 // script as its only element, one of Null, Boolean, Integer, Real, Date, or
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 // |endOffset| are the offsets of the selection in the returned |content|. 617 // |endOffset| are the offsets of the selection in the returned |content|.
612 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, 618 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
613 base::string16, /* content */ 619 base::string16, /* content */
614 size_t, /* startOffset */ 620 size_t, /* startOffset */
615 size_t /* endOffset */) 621 size_t /* endOffset */)
616 622
617 // Notifies the browser that the renderer has a pending navigation transition. 623 // Notifies the browser that the renderer has a pending navigation transition.
618 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, 624 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest,
619 int /* render_frame_id */, 625 int /* render_frame_id */,
620 bool /* is_transition */) 626 bool /* is_transition */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/navigation_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698