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

Side by Side Diff: content/browser/frame_host/navigator.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_NAVIGATOR_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
(...skipping 20 matching lines...) Expand all
31 int64 frame_id, 31 int64 frame_id,
32 int64 parent_frame_id, 32 int64 parent_frame_id,
33 bool main_frame, 33 bool main_frame,
34 const GURL& url) {}; 34 const GURL& url) {};
35 35
36 // The RenderFrameHostImpl has failed a provisional load. 36 // The RenderFrameHostImpl has failed a provisional load.
37 virtual void DidFailProvisionalLoadWithError( 37 virtual void DidFailProvisionalLoadWithError(
38 RenderFrameHostImpl* render_frame_host, 38 RenderFrameHostImpl* render_frame_host,
39 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {}; 39 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) {};
40 40
41 // The RenderFrameHostImpl processed a redirect during a provisional load.
42 //
43 // TODO(creis): Remove this method and have the pre-rendering code listen to
44 // WebContentsObserver::DidGetRedirectForResourceRequest instead.
45 // See http://crbug.com/78512.
46 virtual void DidRedirectProvisionalLoad(
47 RenderFrameHostImpl* render_frame_host,
48 int32 page_id,
49 const GURL& source_url,
50 const GURL& target_url) {}
51
41 protected: 52 protected:
42 friend class base::RefCounted<Navigator>; 53 friend class base::RefCounted<Navigator>;
43 virtual ~Navigator() {} 54 virtual ~Navigator() {}
44 }; 55 };
45 56
46 } // namespace content 57 } // namespace content
47 58
48 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 59 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl_unittest.cc ('k') | content/browser/frame_host/navigator_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698