| 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 78df3331efd3ddd9a4e642915e986fa04ed4dcbf..40c06a5841f6e08023944f894b8f90c6c78a36d5 100644
|
| --- a/content/browser/renderer_host/render_frame_host_impl.h
|
| +++ b/content/browser/renderer_host/render_frame_host_impl.h
|
| @@ -5,19 +5,22 @@
|
| #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_IMPL_H_
|
| #define CONTENT_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_IMPL_H_
|
|
|
| +#include <string>
|
| +
|
| #include "base/compiler_specific.h"
|
| #include "content/public/browser/render_frame_host.h"
|
|
|
| namespace content {
|
|
|
| +class FrameTree;
|
| class RenderProcessHost;
|
| -class RenderViewHostImpl;
|
|
|
| class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
|
| public:
|
| static RenderFrameHostImpl* FromID(int process_id, int routing_id);
|
|
|
| - RenderFrameHostImpl(RenderViewHostImpl* render_view_host,
|
| + RenderFrameHostImpl(RenderProcessHost* render_process_host,
|
| + FrameTree* frame_tree,
|
| int routing_id,
|
| bool is_swapped_out);
|
| virtual ~RenderFrameHostImpl();
|
| @@ -31,11 +34,20 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
|
| void Init();
|
| RenderProcessHost* GetProcess() const;
|
| int routing_id() const { return routing_id_; }
|
| + void CreateChildFrameHost(int new_frame_routing_id,
|
| + int64 parent_frame_id,
|
| + int64 frame_id,
|
| + const std::string& frame_name);
|
|
|
| private:
|
| bool is_swapped_out() { return is_swapped_out_; }
|
|
|
| - RenderViewHostImpl* render_view_host_; // Not owned. Outlives this object.
|
| + // IPC message handlers.
|
| + void OnDetach(int64 parent_frame_id, int64 frame_id);
|
| +
|
| + RenderProcessHost* render_process_host_; // Not owned. Outlives this object.
|
| +
|
| + FrameTree* frame_tree_;
|
| int routing_id_;
|
| bool is_swapped_out_;
|
|
|
|
|