blob: 8af1f7f377d77719679c4597f8eede8e12f404df [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_GPU_CAST_CONTENT_GPU_CLIENT_H_
#define CHROMECAST_GPU_CAST_CONTENT_GPU_CLIENT_H_
#include <memory>
#include "content/public/gpu/content_gpu_client.h"
namespace chromecast {
namespace shell {
class CastContentGpuClient : public content::ContentGpuClient {
public:
static std::unique_ptr<CastContentGpuClient> Create();
~CastContentGpuClient() override;
// content::ContentGpuClient:
void PostCompositorThreadCreated(
base::SingleThreadTaskRunner* task_runner) override;
protected:
CastContentGpuClient();
private:
DISALLOW_COPY_AND_ASSIGN(CastContentGpuClient);
};
} // namespace shell
} // namespace chromecast
#endif // CHROMECAST_GPU_CAST_CONTENT_GPU_CLIENT_H_