| 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 */) |
| OLD | NEW |