Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: content/common/frame_messages.h

Issue 1425303002: OOPIF: Stop using HistoryController and refactor UpdateState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 778
779 // Sent when the renderer starts loading the page. |to_different_document| will 779 // Sent when the renderer starts loading the page. |to_different_document| will
780 // be true unless the load is a fragment navigation, or triggered by 780 // be true unless the load is a fragment navigation, or triggered by
781 // history.pushState/replaceState. 781 // history.pushState/replaceState.
782 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, 782 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading,
783 bool /* to_different_document */) 783 bool /* to_different_document */)
784 784
785 // Sent when the renderer is done loading a page. 785 // Sent when the renderer is done loading a page.
786 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) 786 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading)
787 787
788 // Notifies the browser that this frame has new session history information.
789 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */)
790
788 // Sent when the frame changes its window.name. 791 // Sent when the frame changes its window.name.
789 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeName, std::string /* name */) 792 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeName, std::string /* name */)
790 793
791 // Sent when the renderer changed the progress of a load. 794 // Sent when the renderer changed the progress of a load.
792 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress, 795 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress,
793 double /* load_progress */) 796 double /* load_progress */)
794 797
795 // Requests that the given URL be opened in the specified manner. 798 // Requests that the given URL be opened in the specified manner.
796 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) 799 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params)
797 800
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1230 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1228 FrameHostMsg_ShowPopup_Params) 1231 FrameHostMsg_ShowPopup_Params)
1229 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1232 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1230 1233
1231 #endif 1234 #endif
1232 1235
1233 // Adding a new message? Stick to the sort order above: first platform 1236 // Adding a new message? Stick to the sort order above: first platform
1234 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1237 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1235 // platform independent FrameHostMsg, then ifdefs for platform specific 1238 // platform independent FrameHostMsg, then ifdefs for platform specific
1236 // FrameHostMsg. 1239 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/test/render_view_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698