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

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: ...and remove from WebContentsObserver. 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 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 IPC_BEGIN_MESSAGE_MAP_EX(RenderViewHostImpl, msg, msg_is_ok) 833 IPC_BEGIN_MESSAGE_MAP_EX(RenderViewHostImpl, msg, msg_is_ok)
834 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowView, OnMsgShowView) 834 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowView, OnMsgShowView)
835 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowWidget, OnMsgShowWidget) 835 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowWidget, OnMsgShowWidget)
836 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowFullscreenWidget, 836 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowFullscreenWidget,
837 OnMsgShowFullscreenWidget) 837 OnMsgShowFullscreenWidget)
838 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunModal, OnMsgRunModal) 838 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunModal, OnMsgRunModal)
839 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewReady, OnMsgRenderViewReady) 839 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewReady, OnMsgRenderViewReady)
840 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewGone, OnMsgRenderViewGone) 840 IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewGone, OnMsgRenderViewGone)
841 IPC_MESSAGE_HANDLER(ViewHostMsg_DidStartProvisionalLoadForFrame, 841 IPC_MESSAGE_HANDLER(ViewHostMsg_DidStartProvisionalLoadForFrame,
842 OnMsgDidStartProvisionalLoadForFrame) 842 OnMsgDidStartProvisionalLoadForFrame)
843 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRedirectProvisionalLoad,
844 OnMsgDidRedirectProvisionalLoad)
845 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFailProvisionalLoadWithError, 843 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFailProvisionalLoadWithError,
846 OnMsgDidFailProvisionalLoadWithError) 844 OnMsgDidFailProvisionalLoadWithError)
847 IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_FrameNavigate, OnMsgNavigate(msg)) 845 IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_FrameNavigate, OnMsgNavigate(msg))
848 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateState, OnMsgUpdateState) 846 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateState, OnMsgUpdateState)
849 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTitle, OnMsgUpdateTitle) 847 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTitle, OnMsgUpdateTitle)
850 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateEncoding, OnMsgUpdateEncoding) 848 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateEncoding, OnMsgUpdateEncoding)
851 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTargetURL, OnMsgUpdateTargetURL) 849 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateTargetURL, OnMsgUpdateTargetURL)
852 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateInspectorSetting, 850 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateInspectorSetting,
853 OnUpdateInspectorSetting) 851 OnUpdateInspectorSetting)
854 IPC_MESSAGE_HANDLER(ViewHostMsg_Close, OnMsgClose) 852 IPC_MESSAGE_HANDLER(ViewHostMsg_Close, OnMsgClose)
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 // can cause navigations to be ignored in OnMsgNavigate. 1820 // can cause navigations to be ignored in OnMsgNavigate.
1823 is_waiting_for_beforeunload_ack_ = false; 1821 is_waiting_for_beforeunload_ack_ = false;
1824 is_waiting_for_unload_ack_ = false; 1822 is_waiting_for_unload_ack_ = false;
1825 } 1823 }
1826 1824
1827 void RenderViewHostImpl::ClearPowerSaveBlockers() { 1825 void RenderViewHostImpl::ClearPowerSaveBlockers() {
1828 STLDeleteValues(&power_save_blockers_); 1826 STLDeleteValues(&power_save_blockers_);
1829 } 1827 }
1830 1828
1831 } // namespace content 1829 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698