#include "content/browser/renderer_host/mock_render_widget_host.h"
#include <memory>
#include "components/viz/test/mock_compositor_frame_sink_client.h"
#include "content/browser/renderer_host/frame_token_message_queue.h"
#include "content/test/test_render_widget_host.h"
namespace content {
MockRenderWidgetHost::~MockRenderWidgetHost() { … }
void MockRenderWidgetHost::ExpectForceEnableZoom(bool enable) { … }
void MockRenderWidgetHost::SetupForInputRouterTest() { … }
std::unique_ptr<MockRenderWidgetHost> MockRenderWidgetHost::Create(
FrameTree* frame_tree,
RenderWidgetHostDelegate* delegate,
base::SafeRef<SiteInstanceGroup> site_instance_group,
int32_t routing_id) { … }
std::unique_ptr<MockRenderWidgetHost> MockRenderWidgetHost::Create(
FrameTree* frame_tree,
RenderWidgetHostDelegate* delegate,
base::SafeRef<SiteInstanceGroup> site_instance_group,
int32_t routing_id,
mojo::PendingAssociatedRemote<blink::mojom::Widget> pending_blink_widget) { … }
input::RenderInputRouter* MockRenderWidgetHost::GetRenderInputRouter() { … }
void MockRenderWidgetHost::NotifyNewContentRenderingTimeoutForTesting() { … }
MockRenderWidgetHost::MockRenderWidgetHost(
FrameTree* frame_tree,
RenderWidgetHostDelegate* delegate,
base::SafeRef<SiteInstanceGroup> site_instance_group,
int routing_id,
mojo::PendingAssociatedRemote<blink::mojom::Widget> pending_blink_widget)
: … { … }
void MockRenderWidgetHost::SetupMockRenderInputRouter() { … }
}