electron_gpu_client.h 603 B

12345678910111213141516171819202122232425
  1. // Copyright (c) 2019 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef SHELL_BROWSER_ELECTRON_GPU_CLIENT_H_
  5. #define SHELL_BROWSER_ELECTRON_GPU_CLIENT_H_
  6. #include "content/public/gpu/content_gpu_client.h"
  7. namespace electron {
  8. class ElectronGpuClient : public content::ContentGpuClient {
  9. public:
  10. ElectronGpuClient();
  11. // content::ContentGpuClient:
  12. void PreCreateMessageLoop() override;
  13. private:
  14. DISALLOW_COPY_AND_ASSIGN(ElectronGpuClient);
  15. };
  16. } // namespace electron
  17. #endif // SHELL_BROWSER_ELECTRON_GPU_CLIENT_H_