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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 10316020: Remove WebContentsImpl::OnDidRedirectProvisionalLoad. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't break unittest Created 8 years, 6 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/browser/renderer_host/render_view_host_impl.h" 5 #include "content/browser/renderer_host/render_view_host_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 IPC_BEGIN_MESSAGE_MAP_EX(RenderViewHostImpl, msg, msg_is_ok) 848 IPC_BEGIN_MESSAGE_MAP_EX(RenderViewHostImpl, msg, msg_is_ok)
849 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowView, OnMsgShowView) 849 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowView, OnMsgShowView)
850 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowWidget, OnMsgShowWidget) 850 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowWidget, OnMsgShowWidget)
851 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowFullscreenWidget, 851 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowFullscreenWidget,
852 OnMsgShowFullscreenWidget) 852 OnMsgShowFullscreenWidget)
853 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunModal, OnMsgRunModal) 853 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunModal, OnMsgRunModal)
854 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewReady, OnMsgRenderViewReady) 854 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewReady, OnMsgRenderViewReady)
855 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewGone, OnMsgRenderViewGone) 855 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewGone, OnMsgRenderViewGone)
856 IPC_MESSAGE_HANDLER(ViewHostMsg_DidStartProvisionalLoadForFrame, 856 IPC_MESSAGE_HANDLER(ViewHostMsg_DidStartProvisionalLoadForFrame,
857 OnMsgDidStartProvisionalLoadForFrame) 857 OnMsgDidStartProvisionalLoadForFrame)
858 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRedirectProvisionalLoad,
859 OnMsgDidRedirectProvisionalLoad)
860 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFailProvisionalLoadWithError, 858 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFailProvisionalLoadWithError,
861 OnMsgDidFailProvisionalLoadWithError) 859 OnMsgDidFailProvisionalLoadWithError)
862 IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_FrameNavigate, OnMsgNavigate(msg)) 860 IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_FrameNavigate, OnMsgNavigate(msg))
863 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateState, OnMsgUpdateState) 861 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateState, OnMsgUpdateState)
864 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTitle, OnMsgUpdateTitle) 862 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTitle, OnMsgUpdateTitle)
865 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateEncoding, OnMsgUpdateEncoding) 863 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateEncoding, OnMsgUpdateEncoding)
866 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTargetURL, OnMsgUpdateTargetURL) 864 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTargetURL, OnMsgUpdateTargetURL)
867 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateInspectorSetting, 865 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateInspectorSetting,
868 OnUpdateInspectorSetting) 866 OnUpdateInspectorSetting)
869 IPC_MESSAGE_HANDLER(ViewHostMsg_Close, OnMsgClose) 867 IPC_MESSAGE_HANDLER(ViewHostMsg_Close, OnMsgClose)
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
1840 // can cause navigations to be ignored in OnMsgNavigate. 1838 // can cause navigations to be ignored in OnMsgNavigate.
1841 is_waiting_for_beforeunload_ack_ = false; 1839 is_waiting_for_beforeunload_ack_ = false;
1842 is_waiting_for_unload_ack_ = false; 1840 is_waiting_for_unload_ack_ = false;
1843 } 1841 }
1844 1842
1845 void RenderViewHostImpl::ClearPowerSaveBlockers() { 1843 void RenderViewHostImpl::ClearPowerSaveBlockers() {
1846 STLDeleteValues(&power_save_blockers_); 1844 STLDeleteValues(&power_save_blockers_);
1847 } 1845 }
1848 1846
1849 } // namespace content 1847 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698