Chromium Code Reviews| 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 326 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that | 326 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that |
| 327 // the menu has been closed. | 327 // the menu has been closed. |
| 328 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, | 328 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, |
| 329 content::CustomContextMenuContext /* custom_context */) | 329 content::CustomContextMenuContext /* custom_context */) |
| 330 | 330 |
| 331 // Executes custom context menu action that was provided from Blink. | 331 // Executes custom context menu action that was provided from Blink. |
| 332 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, | 332 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, |
| 333 content::CustomContextMenuContext /* custom_context */, | 333 content::CustomContextMenuContext /* custom_context */, |
| 334 unsigned /* action */) | 334 unsigned /* action */) |
| 335 | 335 |
| 336 // Instructs the renderer to create a new RenderFrame object with |routing_id|. | |
| 337 // The new frame should be created as a child of the object idendified by | |
|
Charlie Reis
2014/07/24 22:36:30
identified
kenrb
2014/07/25 23:42:05
Done.
| |
| 338 // |parent_routing_id| or as top level if the id is MSG_ROUTING_NONE. | |
|
Charlie Reis
2014/07/24 22:36:30
"the id" -> that
(Assuming we're talking about pa
kenrb
2014/07/25 23:42:06
Done.
| |
| 339 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame, | |
| 340 int /* routing_id */, | |
| 341 int /* parent_routing_id */) | |
| 342 | |
| 343 // Instructs the renderer to create a new RenderFrameProxy object with | |
| 344 // |routing_id|. The new proxy should be created as a child of the object | |
| 345 // idendified by |parent_routing_id| or as top level if the id is | |
|
Charlie Reis
2014/07/24 22:36:30
Same as above.
kenrb
2014/07/25 23:42:05
Done.
| |
| 346 // MSG_ROUTING_NONE. | |
| 347 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy, | |
| 348 int /* routing_id */, | |
| 349 int /* parent_routing_id */, | |
| 350 int /* render_view_routing_id */) | |
| 351 | |
| 336 // Tells the renderer to perform the specified navigation, interrupting any | 352 // Tells the renderer to perform the specified navigation, interrupting any |
| 337 // existing navigation. | 353 // existing navigation. |
| 338 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) | 354 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) |
| 339 | 355 |
| 340 // Instructs the renderer to invoke the frame's beforeunload event handler. | 356 // Instructs the renderer to invoke the frame's beforeunload event handler. |
| 341 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. | 357 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. |
| 342 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) | 358 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) |
| 343 | 359 |
| 344 // Instructs the frame to swap out for a cross-site transition, including | 360 // Instructs the frame to swap out for a cross-site transition, including |
| 345 // running the unload event handler and creating a RenderFrameProxy with the | 361 // running the unload event handler and creating a RenderFrameProxy with the |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 666 size_t /* endOffset */) | 682 size_t /* endOffset */) |
| 667 | 683 |
| 668 // Notifies the browser that the renderer has a pending navigation transition. | 684 // Notifies the browser that the renderer has a pending navigation transition. |
| 669 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, | 685 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, |
| 670 int /* render_frame_id */, | 686 int /* render_frame_id */, |
| 671 bool /* is_transition */) | 687 bool /* is_transition */) |
| 672 | 688 |
| 673 // Tells the browser to perform a navigation. | 689 // Tells the browser to perform a navigation. |
| 674 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 690 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
| 675 FrameHostMsg_BeginNavigation_Params) | 691 FrameHostMsg_BeginNavigation_Params) |
| OLD | NEW |