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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. | 365 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. |
366 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) | 366 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) |
367 | 367 |
368 // Instructs the renderer to create a new RenderFrame object with |routing_id|. | 368 // Instructs the renderer to create a new RenderFrame object with |routing_id|. |
369 // The new frame should be created as a child of the object identified by | 369 // The new frame should be created as a child of the object identified by |
370 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. | 370 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. |
371 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame, | 371 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame, |
372 int /* routing_id */, | 372 int /* routing_id */, |
373 int /* parent_routing_id */) | 373 int /* parent_routing_id */) |
374 | 374 |
| 375 IPC_MESSAGE_ROUTED2(FrameMsg_NewWidgetForFrame, |
| 376 int /* routing_id_for_widget */, |
| 377 bool /* hidden */) |
| 378 |
375 // Instructs the renderer to create a new RenderFrameProxy object with | 379 // Instructs the renderer to create a new RenderFrameProxy object with |
376 // |routing_id|. The new proxy should be created as a child of the object | 380 // |routing_id|. The new proxy should be created as a child of the object |
377 // identified by |parent_routing_id| or as top level if that is | 381 // identified by |parent_routing_id| or as top level if that is |
378 // MSG_ROUTING_NONE. | 382 // MSG_ROUTING_NONE. |
379 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy, | 383 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy, |
380 int /* routing_id */, | 384 int /* routing_id */, |
381 int /* parent_routing_id */, | 385 int /* parent_routing_id */, |
382 int /* render_view_routing_id */) | 386 int /* render_view_routing_id */) |
383 | 387 |
384 // Tells the renderer to perform the specified navigation, interrupting any | 388 // Tells the renderer to perform the specified navigation, interrupting any |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 757 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
754 | 758 |
755 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 759 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
756 | 760 |
757 // Message to show/hide a popup menu using native controls. | 761 // Message to show/hide a popup menu using native controls. |
758 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 762 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
759 FrameHostMsg_ShowPopup_Params) | 763 FrameHostMsg_ShowPopup_Params) |
760 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 764 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
761 | 765 |
762 #endif | 766 #endif |
OLD | NEW |