| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that | 337 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that |
| 338 // the menu has been closed. | 338 // the menu has been closed. |
| 339 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, | 339 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, |
| 340 content::CustomContextMenuContext /* custom_context */) | 340 content::CustomContextMenuContext /* custom_context */) |
| 341 | 341 |
| 342 // Executes custom context menu action that was provided from Blink. | 342 // Executes custom context menu action that was provided from Blink. |
| 343 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, | 343 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, |
| 344 content::CustomContextMenuContext /* custom_context */, | 344 content::CustomContextMenuContext /* custom_context */, |
| 345 unsigned /* action */) | 345 unsigned /* action */) |
| 346 | 346 |
| 347 // Instructs the renderer to create a new RenderFrame object with |routing_id|. | |
| 348 // The new frame should be created as a child of the object identified by | |
| 349 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. | |
| 350 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame, | |
| 351 int /* routing_id */, | |
| 352 int /* parent_routing_id */) | |
| 353 | |
| 354 // Instructs the renderer to create a new RenderFrameProxy object with | |
| 355 // |routing_id|. The new proxy should be created as a child of the object | |
| 356 // identified by |parent_routing_id| or as top level if that is | |
| 357 // MSG_ROUTING_NONE. | |
| 358 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy, | |
| 359 int /* routing_id */, | |
| 360 int /* parent_routing_id */, | |
| 361 int /* render_view_routing_id */) | |
| 362 | |
| 363 // Tells the renderer to perform the specified navigation, interrupting any | 347 // Tells the renderer to perform the specified navigation, interrupting any |
| 364 // existing navigation. | 348 // existing navigation. |
| 365 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) | 349 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) |
| 366 | 350 |
| 367 // Instructs the renderer to invoke the frame's beforeunload event handler. | 351 // Instructs the renderer to invoke the frame's beforeunload event handler. |
| 368 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. | 352 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. |
| 369 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) | 353 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) |
| 370 | 354 |
| 371 // Instructs the frame to swap out for a cross-site transition, including | 355 // Instructs the frame to swap out for a cross-site transition, including |
| 372 // running the unload event handler and creating a RenderFrameProxy with the | 356 // running the unload event handler and creating a RenderFrameProxy with the |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 int /* render_frame_id */, | 685 int /* render_frame_id */, |
| 702 bool /* is_transition */) | 686 bool /* is_transition */) |
| 703 | 687 |
| 704 // Tells the browser to perform a navigation. | 688 // Tells the browser to perform a navigation. |
| 705 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 689 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
| 706 FrameHostMsg_BeginNavigation_Params) | 690 FrameHostMsg_BeginNavigation_Params) |
| 707 | 691 |
| 708 // Sent once a paint happens after the first non empty layout. In other words | 692 // Sent once a paint happens after the first non empty layout. In other words |
| 709 // after the frame has painted something. | 693 // after the frame has painted something. |
| 710 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 694 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| OLD | NEW |