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

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: Listen for RESOURCE_RECEIVED_REDIRET in PrerenderTabHelper Created 8 years, 7 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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 IPC_BEGIN_MESSAGE_MAP_EX(RenderViewHostImpl, msg, msg_is_ok) 838 IPC_BEGIN_MESSAGE_MAP_EX(RenderViewHostImpl, msg, msg_is_ok)
839 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowView, OnMsgShowView) 839 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowView, OnMsgShowView)
840 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowWidget, OnMsgShowWidget) 840 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowWidget, OnMsgShowWidget)
841 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowFullscreenWidget, 841 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowFullscreenWidget,
842 OnMsgShowFullscreenWidget) 842 OnMsgShowFullscreenWidget)
843 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunModal, OnMsgRunModal) 843 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunModal, OnMsgRunModal)
844 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewReady, OnMsgRenderViewReady) 844 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewReady, OnMsgRenderViewReady)
845 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewGone, OnMsgRenderViewGone) 845 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewGone, OnMsgRenderViewGone)
846 IPC_MESSAGE_HANDLER(ViewHostMsg_DidStartProvisionalLoadForFrame, 846 IPC_MESSAGE_HANDLER(ViewHostMsg_DidStartProvisionalLoadForFrame,
847 OnMsgDidStartProvisionalLoadForFrame) 847 OnMsgDidStartProvisionalLoadForFrame)
848 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRedirectProvisionalLoad,
849 OnMsgDidRedirectProvisionalLoad)
850 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFailProvisionalLoadWithError, 848 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFailProvisionalLoadWithError,
851 OnMsgDidFailProvisionalLoadWithError) 849 OnMsgDidFailProvisionalLoadWithError)
852 IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_FrameNavigate, OnMsgNavigate(msg)) 850 IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_FrameNavigate, OnMsgNavigate(msg))
853 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateState, OnMsgUpdateState) 851 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateState, OnMsgUpdateState)
854 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTitle, OnMsgUpdateTitle) 852 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTitle, OnMsgUpdateTitle)
855 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateEncoding, OnMsgUpdateEncoding) 853 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateEncoding, OnMsgUpdateEncoding)
856 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTargetURL, OnMsgUpdateTargetURL) 854 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTargetURL, OnMsgUpdateTargetURL)
857 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateInspectorSetting, 855 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateInspectorSetting,
858 OnUpdateInspectorSetting) 856 OnUpdateInspectorSetting)
859 IPC_MESSAGE_HANDLER(ViewHostMsg_Close, OnMsgClose) 857 IPC_MESSAGE_HANDLER(ViewHostMsg_Close, OnMsgClose)
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
1828 // can cause navigations to be ignored in OnMsgNavigate. 1826 // can cause navigations to be ignored in OnMsgNavigate.
1829 is_waiting_for_beforeunload_ack_ = false; 1827 is_waiting_for_beforeunload_ack_ = false;
1830 is_waiting_for_unload_ack_ = false; 1828 is_waiting_for_unload_ack_ = false;
1831 } 1829 }
1832 1830
1833 void RenderViewHostImpl::ClearPowerSaveBlockers() { 1831 void RenderViewHostImpl::ClearPowerSaveBlockers() {
1834 STLDeleteValues(&power_save_blockers_); 1832 STLDeleteValues(&power_save_blockers_);
1835 } 1833 }
1836 1834
1837 } // namespace content 1835 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698