| 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 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 | 649 |
| 650 // Tells the renderer to perform the specified navigation, interrupting any | 650 // Tells the renderer to perform the specified navigation, interrupting any |
| 651 // existing navigation. | 651 // existing navigation. |
| 652 IPC_MESSAGE_ROUTED3(FrameMsg_Navigate, | 652 IPC_MESSAGE_ROUTED3(FrameMsg_Navigate, |
| 653 content::CommonNavigationParams, /* common_params */ | 653 content::CommonNavigationParams, /* common_params */ |
| 654 content::StartNavigationParams, /* start_params */ | 654 content::StartNavigationParams, /* start_params */ |
| 655 content::RequestNavigationParams /* request_params */) | 655 content::RequestNavigationParams /* request_params */) |
| 656 | 656 |
| 657 // Instructs the renderer to invoke the frame's beforeunload event handler. | 657 // Instructs the renderer to invoke the frame's beforeunload event handler. |
| 658 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. | 658 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. |
| 659 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) | 659 IPC_MESSAGE_ROUTED1(FrameMsg_BeforeUnload, bool /* is_reload */) |
| 660 | 660 |
| 661 // Instructs the frame to swap out for a cross-site transition, including | 661 // Instructs the frame to swap out for a cross-site transition, including |
| 662 // running the unload event handler and creating a RenderFrameProxy with the | 662 // running the unload event handler and creating a RenderFrameProxy with the |
| 663 // given |proxy_routing_id|. Expects a SwapOut_ACK message when finished. | 663 // given |proxy_routing_id|. Expects a SwapOut_ACK message when finished. |
| 664 IPC_MESSAGE_ROUTED3(FrameMsg_SwapOut, | 664 IPC_MESSAGE_ROUTED3(FrameMsg_SwapOut, |
| 665 int /* proxy_routing_id */, | 665 int /* proxy_routing_id */, |
| 666 bool /* is_loading */, | 666 bool /* is_loading */, |
| 667 content::FrameReplicationState /* replication_state */) | 667 content::FrameReplicationState /* replication_state */) |
| 668 | 668 |
| 669 // Instructs the frame to stop the load in progress, if any. | 669 // Instructs the frame to stop the load in progress, if any. |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1478 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1478 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
| 1479 int /* version */, | 1479 int /* version */, |
| 1480 std::vector<gfx::RectF> /* rects */, | 1480 std::vector<gfx::RectF> /* rects */, |
| 1481 gfx::RectF /* active_rect */) | 1481 gfx::RectF /* active_rect */) |
| 1482 #endif | 1482 #endif |
| 1483 | 1483 |
| 1484 // Adding a new message? Stick to the sort order above: first platform | 1484 // Adding a new message? Stick to the sort order above: first platform |
| 1485 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1485 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1486 // platform independent FrameHostMsg, then ifdefs for platform specific | 1486 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1487 // FrameHostMsg. | 1487 // FrameHostMsg. |
| OLD | NEW |