chromium/content/test/test_render_widget_host.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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() {}

// static
mojo::PendingAssociatedRemote<blink::mojom::FrameWidget>
TestRenderWidgetHost::CreateStubFrameWidgetRemote() {}

// static
mojo::PendingAssociatedRemote<blink::mojom::Widget>
TestRenderWidgetHost::CreateStubWidgetRemote() {}

}  // namespace content