#include "content/browser/renderer_host/render_widget_host_factory.h"
#include <memory>
#include "content/browser/renderer_host/frame_token_message_queue.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
namespace content {
RenderWidgetHostFactory* RenderWidgetHostFactory::factory_ = …;
std::unique_ptr<RenderWidgetHostImpl> RenderWidgetHostFactory::Create(
FrameTree* frame_tree,
RenderWidgetHostDelegate* delegate,
viz::FrameSinkId frame_sink_id,
base::SafeRef<SiteInstanceGroup> site_instance_group,
int32_t routing_id,
bool hidden,
bool renderer_initiated_creation) { … }
RenderWidgetHostImpl* RenderWidgetHostFactory::CreateSelfOwned(
FrameTree* frame_tree,
RenderWidgetHostDelegate* delegate,
base::SafeRef<SiteInstanceGroup> site_instance_group,
int32_t routing_id,
bool hidden) { … }
std::unique_ptr<RenderWidgetHostImpl>
RenderWidgetHostFactory::CreateRenderWidgetHost(
FrameTree* frame_tree,
RenderWidgetHostDelegate* delegate,
viz::FrameSinkId frame_sink_id,
base::SafeRef<SiteInstanceGroup> site_instance_group,
int32_t routing_id,
bool hidden,
bool renderer_initiated_creation) { … }
RenderWidgetHostImpl* RenderWidgetHostFactory::CreateSelfOwnedRenderWidgetHost(
FrameTree* frame_tree,
RenderWidgetHostDelegate* delegate,
base::SafeRef<SiteInstanceGroup> site_instance_group,
int32_t routing_id,
bool hidden) { … }
void RenderWidgetHostFactory::RegisterFactory(
RenderWidgetHostFactory* factory) { … }
void RenderWidgetHostFactory::UnregisterFactory() { … }
}