// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #ifndef SURFACE_FACTORY_QT #define SURFACE_FACTORY_QT #if defined(USE_OZONE) #include "ui/ozone/public/surface_factory_ozone.h" namespace QtWebEngineCore { class SurfaceFactoryQt : public ui::SurfaceFactoryOzone { public: SurfaceFactoryQt(); std::vector GetAllowedGLImplementations() override; ui::GLOzone *GetGLOzone(const gl::GLImplementationParts &implementation) override; private: std::vector m_impl; std::unique_ptr m_ozone; }; } // namespace QtWebEngineCore #endif // defined(USE_OZONE) #endif // SURFACE_FACTORY_QT