Chromium Code Reviews| 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 | |
|
Tom Sepez
2015/01/08 18:15:27
nit: not sure what "synchronized with the mechansi
Ignacio Solla
2015/01/08 18:50:20
Let me know if the comment is now clearer.
| |
| 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 823 // PlzNavigate | 828 // PlzNavigate |
| 824 // Tells the browser to perform a navigation. | 829 // Tells the browser to perform a navigation. |
| 825 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation, | 830 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation, |
| 826 FrameHostMsg_BeginNavigation_Params, | 831 FrameHostMsg_BeginNavigation_Params, |
| 827 content::CommonNavigationParams) | 832 content::CommonNavigationParams) |
| 828 | 833 |
| 829 // Sent once a paint happens after the first non empty layout. In other words | 834 // Sent once a paint happens after the first non empty layout. In other words |
| 830 // after the frame has painted something. | 835 // after the frame has painted something. |
| 831 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 836 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 832 | 837 |
| 838 // Sent as a response to FrameMsg_FlushVisualStateRequest. | |
| 839 // The message is delivered using RenderWidget::QueueMessage. | |
| 840 IPC_MESSAGE_ROUTED1(FrameHostMsg_FlushVisualStateResponse, | |
| 841 int /* id */) | |
| 842 | |
| 833 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 843 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 834 | 844 |
| 835 // Message to show/hide a popup menu using native controls. | 845 // Message to show/hide a popup menu using native controls. |
| 836 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 846 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 837 FrameHostMsg_ShowPopup_Params) | 847 FrameHostMsg_ShowPopup_Params) |
| 838 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 848 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 839 | 849 |
| 840 #endif | 850 #endif |
| OLD | NEW |