#include "content/test/test_render_widget_host.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "content/browser/renderer_host/frame_token_message_queue.h"
#include "content/browser/site_instance_group.h"
#include "content/public/common/content_features.h"
namespace content {
std::unique_ptr<RenderWidgetHostImpl> TestRenderWidgetHost::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) { … }
TestRenderWidgetHost::TestRenderWidgetHost(
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)
: … { … }
TestRenderWidgetHost::~TestRenderWidgetHost() { … }
blink::mojom::WidgetInputHandler*
TestRenderWidgetHost::GetWidgetInputHandler() { … }
MockWidgetInputHandler* TestRenderWidgetHost::GetMockWidgetInputHandler() { … }
mojo::PendingAssociatedRemote<blink::mojom::FrameWidget>
TestRenderWidgetHost::CreateStubFrameWidgetRemote() { … }
mojo::PendingAssociatedRemote<blink::mojom::Widget>
TestRenderWidgetHost::CreateStubWidgetRemote() { … }
}