| 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 "cc/surfaces/surface_id.h" | 8 #include "cc/surfaces/surface_id.h" |
| 9 #include "cc/surfaces/surface_sequence.h" | 9 #include "cc/surfaces/surface_sequence.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 // Indicates the renderer process is gone. This actually is sent by the | 752 // Indicates the renderer process is gone. This actually is sent by the |
| 753 // browser process to itself, but keeps the interface cleaner. | 753 // browser process to itself, but keeps the interface cleaner. |
| 754 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, | 754 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, |
| 755 int, /* this really is base::TerminationStatus */ | 755 int, /* this really is base::TerminationStatus */ |
| 756 int /* exit_code */) | 756 int /* exit_code */) |
| 757 | 757 |
| 758 // Sent by the renderer when the frame becomes focused. | 758 // Sent by the renderer when the frame becomes focused. |
| 759 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) | 759 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) |
| 760 | 760 |
| 761 // Sent when the renderer starts a provisional load for a frame. | 761 // Sent when the renderer starts a provisional load for a frame. |
| 762 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartProvisionalLoad, GURL /* url */) | 762 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoad, |
| 763 GURL /* url */, |
| 764 base::TimeTicks /* navigation_start */); |
| 763 | 765 |
| 764 // Sent when the renderer fails a provisional load with an error. | 766 // Sent when the renderer fails a provisional load with an error. |
| 765 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, | 767 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, |
| 766 FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 768 FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
| 767 | 769 |
| 768 // Notifies the browser that a frame in the view has changed. This message | 770 // Notifies the browser that a frame in the view has changed. This message |
| 769 // has a lot of parameters and is packed/unpacked by functions defined in | 771 // has a lot of parameters and is packed/unpacked by functions defined in |
| 770 // render_messages.h. | 772 // render_messages.h. |
| 771 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, | 773 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, |
| 772 FrameHostMsg_DidCommitProvisionalLoad_Params) | 774 FrameHostMsg_DidCommitProvisionalLoad_Params) |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1236 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1238 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 1237 FrameHostMsg_ShowPopup_Params) | 1239 FrameHostMsg_ShowPopup_Params) |
| 1238 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1240 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 1239 | 1241 |
| 1240 #endif | 1242 #endif |
| 1241 | 1243 |
| 1242 // Adding a new message? Stick to the sort order above: first platform | 1244 // Adding a new message? Stick to the sort order above: first platform |
| 1243 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1245 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1244 // platform independent FrameHostMsg, then ifdefs for platform specific | 1246 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1245 // FrameHostMsg. | 1247 // FrameHostMsg. |
| OLD | NEW |