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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 129813006: Move DidReceiveServerRedirectForProvisionalLoad from RenderView to RenderFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 friend class TestRenderViewHost; 95 friend class TestRenderViewHost;
96 96
97 // IPC Message handlers. 97 // IPC Message handlers.
98 void OnDetach(int64 parent_frame_id, int64 frame_id); 98 void OnDetach(int64 parent_frame_id, int64 frame_id);
99 void OnDidStartProvisionalLoadForFrame(int64 frame_id, 99 void OnDidStartProvisionalLoadForFrame(int64 frame_id,
100 int64 parent_frame_id, 100 int64 parent_frame_id,
101 bool main_frame, 101 bool main_frame,
102 const GURL& url); 102 const GURL& url);
103 void OnDidFailProvisionalLoadWithError( 103 void OnDidFailProvisionalLoadWithError(
104 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); 104 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params);
105 void OnDidRedirectProvisionalLoad(int32 page_id,
106 const GURL& source_url,
107 const GURL& target_url);
105 void OnSwapOutACK(); 108 void OnSwapOutACK();
106 109
107 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a 110 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
108 // refcount that calls Shutdown when it reaches zero. This allows each 111 // refcount that calls Shutdown when it reaches zero. This allows each
109 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring 112 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring
110 // we have a RenderViewHost for each RenderFrameHost. 113 // we have a RenderViewHost for each RenderFrameHost.
111 // TODO(creis): RenderViewHost will eventually go away and be replaced with 114 // TODO(creis): RenderViewHost will eventually go away and be replaced with
112 // some form of page context. 115 // some form of page context.
113 RenderViewHostImpl* render_view_host_; 116 RenderViewHostImpl* render_view_host_;
114 117
(...skipping 21 matching lines...) Expand all
136 139
137 int routing_id_; 140 int routing_id_;
138 bool is_swapped_out_; 141 bool is_swapped_out_;
139 142
140 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 143 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
141 }; 144 };
142 145
143 } // namespace content 146 } // namespace content
144 147
145 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 148 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698