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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 118553006: Move DidFailProvisionalLoad handling from RenderView(Host) to RenderFrame(Host). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 5783b1f20f06b2809a901ae36d45b64fbc89f30b..5379a174a02ce16d827eb26fec238b29bc5f7ee3 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -12,6 +12,7 @@
#include "content/public/browser/render_frame_host.h"
class GURL;
+struct FrameHostMsg_DidFailProvisionalLoadWithError_Params;
namespace base {
class FilePath;
@@ -54,7 +55,7 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
RenderViewHostImpl* render_view_host() { return render_view_host_; }
RenderFrameHostDelegate* delegate() { return delegate_; }
-
+ FrameTreeNode* frame_tree_node() { return frame_tree_node_; }
// This function is called when this is a swapped out RenderFrameHost that
// lives in the same process as the parent frame. The
@@ -99,6 +100,8 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
int64 parent_frame_id,
bool main_frame,
const GURL& url);
+ void OnDidFailProvisionalLoadWithError(
+ const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params);
void OnSwapOutACK();
// For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
@@ -123,7 +126,7 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
// This will move to RenderFrameProxyHost when that class is created.
CrossProcessFrameConnector* cross_process_frame_connector_;
- // Reference to the whole frame tree that this RenderFrameHost belongs too.
+ // Reference to the whole frame tree that this RenderFrameHost belongs to.
// Allows this RenderFrameHost to add and remove nodes in response to
// messages from the renderer requesting DOM manipulation.
FrameTree* frame_tree_;
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698