| 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 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 // Indicates the renderer process is gone. This actually is sent by the | 954 // Indicates the renderer process is gone. This actually is sent by the |
| 955 // browser process to itself, but keeps the interface cleaner. | 955 // browser process to itself, but keeps the interface cleaner. |
| 956 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, | 956 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, |
| 957 int, /* this really is base::TerminationStatus */ | 957 int, /* this really is base::TerminationStatus */ |
| 958 int /* exit_code */) | 958 int /* exit_code */) |
| 959 | 959 |
| 960 // Sent by the renderer when the frame becomes focused. | 960 // Sent by the renderer when the frame becomes focused. |
| 961 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) | 961 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) |
| 962 | 962 |
| 963 // Sent when the renderer starts a provisional load for a frame. | 963 // Sent when the renderer starts a provisional load for a frame. |
| 964 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoad, | 964 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidStartProvisionalLoad, |
| 965 GURL /* url */, | 965 GURL /* url */, |
| 966 base::TimeTicks /* navigation_start */) | 966 base::TimeTicks /* navigation_start */, |
| 967 bool /* has_user_gesture */) |
| 967 | 968 |
| 968 // Sent when the renderer fails a provisional load with an error. | 969 // Sent when the renderer fails a provisional load with an error. |
| 969 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, | 970 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, |
| 970 FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 971 FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
| 971 | 972 |
| 972 // Notifies the browser that a frame in the view has changed. This message | 973 // Notifies the browser that a frame in the view has changed. This message |
| 973 // has a lot of parameters and is packed/unpacked by functions defined in | 974 // has a lot of parameters and is packed/unpacked by functions defined in |
| 974 // render_messages.h. | 975 // render_messages.h. |
| 975 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, | 976 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, |
| 976 FrameHostMsg_DidCommitProvisionalLoad_Params) | 977 FrameHostMsg_DidCommitProvisionalLoad_Params) |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1519 // nearest find result in the sending frame. | 1520 // nearest find result in the sending frame. |
| 1520 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1521 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1521 int /* nfr_request_id */, | 1522 int /* nfr_request_id */, |
| 1522 float /* distance */) | 1523 float /* distance */) |
| 1523 #endif | 1524 #endif |
| 1524 | 1525 |
| 1525 // Adding a new message? Stick to the sort order above: first platform | 1526 // Adding a new message? Stick to the sort order above: first platform |
| 1526 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1527 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1527 // platform independent FrameHostMsg, then ifdefs for platform specific | 1528 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1528 // FrameHostMsg. | 1529 // FrameHostMsg. |
| OLD | NEW |