#ifndef CHROMECAST_GPU_CAST_CONTENT_GPU_CLIENT_H_
#define CHROMECAST_GPU_CAST_CONTENT_GPU_CLIENT_H_
#include <memory>
#include "base/task/single_thread_task_runner.h"
#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(const CastContentGpuClient&) = delete;
CastContentGpuClient& operator=(const CastContentGpuClient&) = delete;
~CastContentGpuClient() override;
void PostCompositorThreadCreated(
base::SingleThreadTaskRunner* task_runner) override;
protected:
CastContentGpuClient();
};
}
}
#endif