| 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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 // history.pushState/replaceState. | 790 // history.pushState/replaceState. |
| 791 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, | 791 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, |
| 792 bool /* to_different_document */) | 792 bool /* to_different_document */) |
| 793 | 793 |
| 794 // Sent when the renderer is done loading a page. | 794 // Sent when the renderer is done loading a page. |
| 795 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 795 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
| 796 | 796 |
| 797 // Notifies the browser that this frame has new session history information. | 797 // Notifies the browser that this frame has new session history information. |
| 798 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) | 798 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) |
| 799 | 799 |
| 800 // Tells the browser to navigate this newly created child frame to the session |
| 801 // history item corresponding to it, based on the frame's unique name. |
| 802 IPC_MESSAGE_ROUTED1(FrameHostMsg_NavigateNewChildFrame, |
| 803 std::string /* unique_name */) |
| 804 |
| 800 // Sent when the frame changes its window.name. | 805 // Sent when the frame changes its window.name. |
| 801 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeName, std::string /* name */) | 806 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeName, std::string /* name */) |
| 802 | 807 |
| 803 // Sent when the renderer changed the progress of a load. | 808 // Sent when the renderer changed the progress of a load. |
| 804 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress, | 809 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress, |
| 805 double /* load_progress */) | 810 double /* load_progress */) |
| 806 | 811 |
| 807 // Requests that the given URL be opened in the specified manner. | 812 // Requests that the given URL be opened in the specified manner. |
| 808 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) | 813 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) |
| 809 | 814 |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1238 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1243 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 1239 FrameHostMsg_ShowPopup_Params) | 1244 FrameHostMsg_ShowPopup_Params) |
| 1240 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1245 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 1241 | 1246 |
| 1242 #endif | 1247 #endif |
| 1243 | 1248 |
| 1244 // Adding a new message? Stick to the sort order above: first platform | 1249 // Adding a new message? Stick to the sort order above: first platform |
| 1245 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1250 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1246 // platform independent FrameHostMsg, then ifdefs for platform specific | 1251 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1247 // FrameHostMsg. | 1252 // FrameHostMsg. |
| OLD | NEW |