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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 | 637 |
638 // Tells the renderer to perform the specified navigation, interrupting any | 638 // Tells the renderer to perform the specified navigation, interrupting any |
639 // existing navigation. | 639 // existing navigation. |
640 IPC_MESSAGE_ROUTED3(FrameMsg_Navigate, | 640 IPC_MESSAGE_ROUTED3(FrameMsg_Navigate, |
641 content::CommonNavigationParams, /* common_params */ | 641 content::CommonNavigationParams, /* common_params */ |
642 content::StartNavigationParams, /* start_params */ | 642 content::StartNavigationParams, /* start_params */ |
643 content::RequestNavigationParams /* request_params */) | 643 content::RequestNavigationParams /* request_params */) |
644 | 644 |
645 // Instructs the renderer to invoke the frame's beforeunload event handler. | 645 // Instructs the renderer to invoke the frame's beforeunload event handler. |
646 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. | 646 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. |
647 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) | 647 IPC_MESSAGE_ROUTED1(FrameMsg_BeforeUnload, bool /* is_reload */) |
648 | 648 |
649 // Instructs the frame to swap out for a cross-site transition, including | 649 // Instructs the frame to swap out for a cross-site transition, including |
650 // running the unload event handler and creating a RenderFrameProxy with the | 650 // running the unload event handler and creating a RenderFrameProxy with the |
651 // given |proxy_routing_id|. Expects a SwapOut_ACK message when finished. | 651 // given |proxy_routing_id|. Expects a SwapOut_ACK message when finished. |
652 IPC_MESSAGE_ROUTED3(FrameMsg_SwapOut, | 652 IPC_MESSAGE_ROUTED3(FrameMsg_SwapOut, |
653 int /* proxy_routing_id */, | 653 int /* proxy_routing_id */, |
654 bool /* is_loading */, | 654 bool /* is_loading */, |
655 content::FrameReplicationState /* replication_state */) | 655 content::FrameReplicationState /* replication_state */) |
656 | 656 |
657 // Instructs the frame to stop the load in progress, if any. | 657 // Instructs the frame to stop the load in progress, if any. |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
1447 int /* version */, | 1447 int /* version */, |
1448 std::vector<gfx::RectF> /* rects */, | 1448 std::vector<gfx::RectF> /* rects */, |
1449 gfx::RectF /* active_rect */) | 1449 gfx::RectF /* active_rect */) |
1450 #endif | 1450 #endif |
1451 | 1451 |
1452 // Adding a new message? Stick to the sort order above: first platform | 1452 // Adding a new message? Stick to the sort order above: first platform |
1453 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1453 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1454 // platform independent FrameHostMsg, then ifdefs for platform specific | 1454 // platform independent FrameHostMsg, then ifdefs for platform specific |
1455 // FrameHostMsg. | 1455 // FrameHostMsg. |
OLD | NEW |