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 to |
Charlie Reis
2014/10/28 16:38:29
nit: |proxy_routing_id|
Nate Chapin
2014/10/28 19:59:20
Done.
| |
364 // 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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
761 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 764 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
762 | 765 |
763 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 766 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
764 | 767 |
765 // Message to show/hide a popup menu using native controls. | 768 // Message to show/hide a popup menu using native controls. |
766 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 769 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
767 FrameHostMsg_ShowPopup_Params) | 770 FrameHostMsg_ShowPopup_Params) |
768 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 771 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
769 | 772 |
770 #endif | 773 #endif |
OLD | NEW |