diff options
Diffstat (limited to 'content/browser/frame_host/frame_tree.h')
-rw-r--r-- | content/browser/frame_host/frame_tree.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/content/browser/frame_host/frame_tree.h b/content/browser/frame_host/frame_tree.h index 6824e7e..91a0c29 100644 --- a/content/browser/frame_host/frame_tree.h +++ b/content/browser/frame_host/frame_tree.h @@ -15,6 +15,7 @@ namespace content { class FrameTreeNode; +class Navigator; class RenderProcessHost; class RenderViewHostImpl; @@ -35,7 +36,9 @@ class RenderViewHostImpl; // This object is only used on the UI thread. class CONTENT_EXPORT FrameTree { public: - FrameTree(); + // Each FrameTreeNode will default to using the given |navigator| for + // navigation tasks in the frame. + FrameTree(Navigator* navigator); ~FrameTree(); // Returns the FrameTreeNode with the given |frame_tree_node_id|. @@ -100,6 +103,7 @@ class CONTENT_EXPORT FrameTree { scoped_ptr<FrameTreeNode> CreateNode(int64 frame_id, const std::string& frame_name, int render_frame_host_id, + Navigator* navigator, RenderProcessHost* render_process_host); scoped_ptr<FrameTreeNode> root_; |