Index: content/browser/renderer_host/render_frame_host_impl.h |
diff --git a/content/browser/renderer_host/render_frame_host_impl.h b/content/browser/renderer_host/render_frame_host_impl.h |
index 220f15136a5fc872118c184307a391705c9a5638..dd2bcce66c46edda8e267a640ac5581ffc7e59be 100644 |
--- a/content/browser/renderer_host/render_frame_host_impl.h |
+++ b/content/browser/renderer_host/render_frame_host_impl.h |
@@ -13,8 +13,10 @@ |
namespace content { |
class FrameTree; |
+class Navigator; |
class RenderProcessHost; |
class RenderViewHostImpl; |
+class SiteInstance; |
class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost { |
public: |
@@ -35,8 +37,11 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost { |
// IPC::Listener |
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
+ // RenderFrameHost |
+ virtual RenderProcessHost* GetProcess() const OVERRIDE; |
+ virtual SiteInstance* GetSiteInstance() const OVERRIDE; |
+ |
void Init(); |
- RenderProcessHost* GetProcess() const; |
int routing_id() const { return routing_id_; } |
void OnCreateChildFrame(int new_frame_routing_id, |
int64 parent_frame_id, |
@@ -60,6 +65,11 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost { |
// Allows this RenderFrameHost to add and remove nodes in response to |
// messages from the renderer requesting DOM manipulation. |
FrameTree* frame_tree_; |
+ |
+ // The Navigator object allows the RenderFrameHost to perform navigations |
+ // in its own frame in the frame tree. The Navigator is owned by FrameTree. |
+ Navigator* navigator_; |
+ |
int routing_id_; |
bool is_swapped_out_; |