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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 content::CustomContextMenuContext /* custom_context */) | 390 content::CustomContextMenuContext /* custom_context */) |
391 | 391 |
392 // Executes custom context menu action that was provided from Blink. | 392 // Executes custom context menu action that was provided from Blink. |
393 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, | 393 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, |
394 content::CustomContextMenuContext /* custom_context */, | 394 content::CustomContextMenuContext /* custom_context */, |
395 unsigned /* action */) | 395 unsigned /* action */) |
396 | 396 |
397 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. | 397 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. |
398 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) | 398 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) |
399 | 399 |
| 400 // Requests that the RenderFrame send back a response after waiting for the |
| 401 // commit, activation and frame swap of the current DOM tree in blink. |
| 402 IPC_MESSAGE_ROUTED1(FrameMsg_FlushVisualStateRequest, uint64 /* id */) |
| 403 |
400 // Instructs the renderer to create a new RenderFrame object with |routing_id|. | 404 // Instructs the renderer to create a new RenderFrame object with |routing_id|. |
401 // The new frame should be created as a child of the object identified by | 405 // The new frame should be created as a child of the object identified by |
402 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. | 406 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. |
403 // If a valid |proxy_routing_id| is provided, the new frame will be configured | 407 // If a valid |proxy_routing_id| is provided, the new frame will be configured |
404 // to replace the proxy on commit. When the new frame has a parent, | 408 // to replace the proxy on commit. When the new frame has a parent, |
405 // |replication_state| holds properties replicated from the process rendering | 409 // |replication_state| holds properties replicated from the process rendering |
406 // the parent frame, such as the new frame's sandbox flags. | 410 // the parent frame, such as the new frame's sandbox flags. |
407 IPC_MESSAGE_CONTROL5(FrameMsg_NewFrame, | 411 IPC_MESSAGE_CONTROL5(FrameMsg_NewFrame, |
408 int /* routing_id */, | 412 int /* routing_id */, |
409 int /* parent_routing_id */, | 413 int /* parent_routing_id */, |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 // PlzNavigate | 849 // PlzNavigate |
846 // Tells the browser to perform a navigation. | 850 // Tells the browser to perform a navigation. |
847 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation, | 851 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation, |
848 FrameHostMsg_BeginNavigation_Params, | 852 FrameHostMsg_BeginNavigation_Params, |
849 content::CommonNavigationParams) | 853 content::CommonNavigationParams) |
850 | 854 |
851 // Sent once a paint happens after the first non empty layout. In other words | 855 // Sent once a paint happens after the first non empty layout. In other words |
852 // after the frame has painted something. | 856 // after the frame has painted something. |
853 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 857 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
854 | 858 |
| 859 // Sent as a response to FrameMsg_FlushVisualStateRequest. |
| 860 // The message is delivered using RenderWidget::QueueMessage. |
| 861 IPC_MESSAGE_ROUTED1(FrameHostMsg_FlushVisualStateResponse, uint64 /* id */) |
| 862 |
855 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 863 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
856 // See the comment in chrome/browser/ui/browser.h for more details. | 864 // See the comment in chrome/browser/ui/browser.h for more details. |
857 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) | 865 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) |
858 | 866 |
859 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 867 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
860 | 868 |
861 // Message to show/hide a popup menu using native controls. | 869 // Message to show/hide a popup menu using native controls. |
862 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 870 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
863 FrameHostMsg_ShowPopup_Params) | 871 FrameHostMsg_ShowPopup_Params) |
864 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 872 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
865 | 873 |
866 #endif | 874 #endif |
OLD | NEW |