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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, | 353 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, |
354 content::CustomContextMenuContext /* custom_context */, | 354 content::CustomContextMenuContext /* custom_context */, |
355 unsigned /* action */) | 355 unsigned /* action */) |
356 | 356 |
357 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. | 357 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. |
358 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) | 358 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) |
359 | 359 |
360 // Instructs the renderer to create a new RenderFrame object with |routing_id|. | 360 // Instructs the renderer to create a new RenderFrame object with |routing_id|. |
361 // The new frame should be created as a child of the object identified by | 361 // The new frame should be created as a child of the object identified by |
362 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. | 362 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. |
363 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame, | 363 // If a valid |proxy_routing_id| is provided, the new frame will be configured |
| 364 // to replace the proxy on commit. |
| 365 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrame, |
364 int /* routing_id */, | 366 int /* routing_id */, |
365 int /* parent_routing_id */) | 367 int /* parent_routing_id */, |
| 368 int /* proxy_routing_id */) |
366 | 369 |
367 // Instructs the renderer to create a new RenderFrameProxy object with | 370 // Instructs the renderer to create a new RenderFrameProxy object with |
368 // |routing_id|. The new proxy should be created as a child of the object | 371 // |routing_id|. The new proxy should be created as a child of the object |
369 // identified by |parent_routing_id| or as top level if that is | 372 // identified by |parent_routing_id| or as top level if that is |
370 // MSG_ROUTING_NONE. | 373 // MSG_ROUTING_NONE. |
371 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy, | 374 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy, |
372 int /* routing_id */, | 375 int /* routing_id */, |
373 int /* parent_routing_id */, | 376 int /* parent_routing_id */, |
374 int /* render_view_routing_id */) | 377 int /* render_view_routing_id */) |
375 | 378 |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 763 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
761 | 764 |
762 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 765 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
763 | 766 |
764 // Message to show/hide a popup menu using native controls. | 767 // Message to show/hide a popup menu using native controls. |
765 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 768 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
766 FrameHostMsg_ShowPopup_Params) | 769 FrameHostMsg_ShowPopup_Params) |
767 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 770 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
768 | 771 |
769 #endif | 772 #endif |
OLD | NEW |