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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 129813006: Move DidReceiveServerRedirectForProvisionalLoad from RenderView to RenderFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix layout test failures. Created 6 years, 11 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 // The RenderView died somehow (crashed or was killed by the user). 142 // The RenderView died somehow (crashed or was killed by the user).
143 virtual void RenderViewTerminated(RenderViewHost* render_view_host, 143 virtual void RenderViewTerminated(RenderViewHost* render_view_host,
144 base::TerminationStatus status, 144 base::TerminationStatus status,
145 int error_code) {} 145 int error_code) {}
146 146
147 // The RenderView is going to be deleted. This is called when each 147 // The RenderView is going to be deleted. This is called when each
148 // RenderView is going to be destroyed 148 // RenderView is going to be destroyed
149 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {} 149 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {}
150 150
151 // The RenderView processed a redirect during a provisional load.
152 //
153 // TODO(creis): Remove this method and have the pre-rendering code listen to
154 // WebContentsObserver::DidGetRedirectForResourceRequest instead.
155 // See http://crbug.com/78512.
156 virtual void DidRedirectProvisionalLoad(
157 RenderViewHost* render_view_host,
158 int32 page_id,
159 const GURL& source_url,
160 const GURL& target_url) {}
161
162 // The RenderView was navigated to a different page. 151 // The RenderView was navigated to a different page.
163 virtual void DidNavigate(RenderViewHost* render_view_host, 152 virtual void DidNavigate(RenderViewHost* render_view_host,
164 const ViewHostMsg_FrameNavigate_Params& params) {} 153 const ViewHostMsg_FrameNavigate_Params& params) {}
165 154
166 // The state for the page changed and should be updated. 155 // The state for the page changed and should be updated.
167 virtual void UpdateState(RenderViewHost* render_view_host, 156 virtual void UpdateState(RenderViewHost* render_view_host,
168 int32 page_id, 157 int32 page_id,
169 const PageState& state) {} 158 const PageState& state) {}
170 159
171 // The page's title was changed and should be updated. 160 // The page's title was changed and should be updated.
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 // created by the RenderViewHost. 417 // created by the RenderViewHost.
429 virtual FrameTree* GetFrameTree(); 418 virtual FrameTree* GetFrameTree();
430 419
431 protected: 420 protected:
432 virtual ~RenderViewHostDelegate() {} 421 virtual ~RenderViewHostDelegate() {}
433 }; 422 };
434 423
435 } // namespace content 424 } // namespace content
436 425
437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698