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

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

Powered by Google App Engine
This is Rietveld 408576698