OLD | NEW |
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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 // input directly to subframes. http://crbug.com/339659 | 599 // input directly to subframes. http://crbug.com/339659 |
600 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, | 600 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, |
601 IPC::WebInputEventPointer /* event */) | 601 IPC::WebInputEventPointer /* event */) |
602 | 602 |
603 // Used to tell the parent that the user right clicked on an area of the | 603 // Used to tell the parent that the user right clicked on an area of the |
604 // content area, and a context menu should be shown for it. The params | 604 // content area, and a context menu should be shown for it. The params |
605 // object contains information about the node(s) that were selected when the | 605 // object contains information about the node(s) that were selected when the |
606 // user right clicked. | 606 // user right clicked. |
607 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 607 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
608 | 608 |
609 // Sent when the renderer detects an XSS in a page. | |
610 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidDetectXSS, | |
611 int32 /* page_id */, | |
612 GURL /* url */, | |
613 bool /* blocked entire page */) | |
614 | |
615 // Initial drawing parameters for a child frame that has been swapped out to | 609 // Initial drawing parameters for a child frame that has been swapped out to |
616 // another process. | 610 // another process. |
617 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, | 611 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, |
618 gfx::Rect /* frame_rect */, | 612 gfx::Rect /* frame_rect */, |
619 float /* scale_factor */) | 613 float /* scale_factor */) |
620 | 614 |
621 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was | 615 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was |
622 // requested. The ID is the parameter supplied to | 616 // requested. The ID is the parameter supplied to |
623 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the | 617 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the |
624 // script as its only element, one of Null, Boolean, Integer, Real, Date, or | 618 // script as its only element, one of Null, Boolean, Integer, Real, Date, or |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 int /* render_frame_id */, | 679 int /* render_frame_id */, |
686 bool /* is_transition */) | 680 bool /* is_transition */) |
687 | 681 |
688 // Tells the browser to perform a navigation. | 682 // Tells the browser to perform a navigation. |
689 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 683 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
690 FrameHostMsg_BeginNavigation_Params) | 684 FrameHostMsg_BeginNavigation_Params) |
691 | 685 |
692 // Sent once a paint happens after the first non empty layout. In other words | 686 // Sent once a paint happens after the first non empty layout. In other words |
693 // after the frame has painted something. | 687 // after the frame has painted something. |
694 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 688 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
OLD | NEW |