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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that | 334 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that |
335 // the menu has been closed. | 335 // the menu has been closed. |
336 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, | 336 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, |
337 content::CustomContextMenuContext /* custom_context */) | 337 content::CustomContextMenuContext /* custom_context */) |
338 | 338 |
339 // Executes custom context menu action that was provided from Blink. | 339 // Executes custom context menu action that was provided from Blink. |
340 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, | 340 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, |
341 content::CustomContextMenuContext /* custom_context */, | 341 content::CustomContextMenuContext /* custom_context */, |
342 unsigned /* action */) | 342 unsigned /* action */) |
343 | 343 |
| 344 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. |
| 345 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) |
| 346 |
344 // Instructs the renderer to create a new RenderFrame object with |routing_id|. | 347 // Instructs the renderer to create a new RenderFrame object with |routing_id|. |
345 // The new frame should be created as a child of the object identified by | 348 // The new frame should be created as a child of the object identified by |
346 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. | 349 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. |
347 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame, | 350 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame, |
348 int /* routing_id */, | 351 int /* routing_id */, |
349 int /* parent_routing_id */) | 352 int /* parent_routing_id */) |
350 | 353 |
351 // Instructs the renderer to create a new RenderFrameProxy object with | 354 // Instructs the renderer to create a new RenderFrameProxy object with |
352 // |routing_id|. The new proxy should be created as a child of the object | 355 // |routing_id|. The new proxy should be created as a child of the object |
353 // identified by |parent_routing_id| or as top level if that is | 356 // identified by |parent_routing_id| or as top level if that is |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 std::string /* selector */, | 711 std::string /* selector */, |
709 std::string /* markup */) | 712 std::string /* markup */) |
710 | 713 |
711 // Tells the browser to perform a navigation. | 714 // Tells the browser to perform a navigation. |
712 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 715 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
713 FrameHostMsg_BeginNavigation_Params) | 716 FrameHostMsg_BeginNavigation_Params) |
714 | 717 |
715 // Sent once a paint happens after the first non empty layout. In other words | 718 // Sent once a paint happens after the first non empty layout. In other words |
716 // after the frame has painted something. | 719 // after the frame has painted something. |
717 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 720 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
OLD | NEW |