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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 content::CustomContextMenuContext /* custom_context */) | 373 content::CustomContextMenuContext /* custom_context */) |
374 | 374 |
375 // Executes custom context menu action that was provided from Blink. | 375 // Executes custom context menu action that was provided from Blink. |
376 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, | 376 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, |
377 content::CustomContextMenuContext /* custom_context */, | 377 content::CustomContextMenuContext /* custom_context */, |
378 unsigned /* action */) | 378 unsigned /* action */) |
379 | 379 |
380 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. | 380 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. |
381 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) | 381 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) |
382 | 382 |
| 383 // Requests that the RenderFrame send back a response synchronized with the |
| 384 // mechanism used to deliver new frames to the screen. |
| 385 IPC_MESSAGE_ROUTED1(FrameMsg_FlushVisualStateRequest, |
| 386 int /* id */) |
| 387 |
383 // Instructs the renderer to create a new RenderFrame object with |routing_id|. | 388 // Instructs the renderer to create a new RenderFrame object with |routing_id|. |
384 // The new frame should be created as a child of the object identified by | 389 // The new frame should be created as a child of the object identified by |
385 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. | 390 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. |
386 // If a valid |proxy_routing_id| is provided, the new frame will be configured | 391 // If a valid |proxy_routing_id| is provided, the new frame will be configured |
387 // to replace the proxy on commit. | 392 // to replace the proxy on commit. |
388 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrame, | 393 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrame, |
389 int /* routing_id */, | 394 int /* routing_id */, |
390 int /* parent_routing_id */, | 395 int /* parent_routing_id */, |
391 int /* proxy_routing_id */) | 396 int /* proxy_routing_id */) |
392 | 397 |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 // PlzNavigate | 819 // PlzNavigate |
815 // Tells the browser to perform a navigation. | 820 // Tells the browser to perform a navigation. |
816 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation, | 821 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation, |
817 FrameHostMsg_BeginNavigation_Params, | 822 FrameHostMsg_BeginNavigation_Params, |
818 content::CommonNavigationParams) | 823 content::CommonNavigationParams) |
819 | 824 |
820 // Sent once a paint happens after the first non empty layout. In other words | 825 // Sent once a paint happens after the first non empty layout. In other words |
821 // after the frame has painted something. | 826 // after the frame has painted something. |
822 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 827 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
823 | 828 |
| 829 // Sent as a response to FrameMsg_FlushVisualStateRequest. |
| 830 // The message is delivered using RenderWidget::QueueMessage. |
| 831 IPC_MESSAGE_ROUTED1(FrameHostMsg_FlushVisualStateResponse, |
| 832 int /* id */) |
| 833 |
824 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 834 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
825 | 835 |
826 // Message to show/hide a popup menu using native controls. | 836 // Message to show/hide a popup menu using native controls. |
827 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 837 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
828 FrameHostMsg_ShowPopup_Params) | 838 FrameHostMsg_ShowPopup_Params) |
829 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 839 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
830 | 840 |
831 #endif | 841 #endif |
OLD | NEW |