Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / ash / content_support / gpu_support_impl.h
blob138bb8daf11e011a19cd208c1b49545c12cd39a6
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_
6 #define ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_
8 #include "ash/content_support/ash_with_content_export.h"
9 #include "ash/gpu_support.h"
11 namespace ash {
13 // Support for a real GPU, which relies on access to src/content.
14 class ASH_WITH_CONTENT_EXPORT GPUSupportImpl : public GPUSupport {
15 public:
16 GPUSupportImpl();
17 ~GPUSupportImpl() override;
19 private:
20 // Overridden from GPUSupport:
21 bool IsPanelFittingDisabled() const override;
22 void DisableGpuWatchdog() override;
23 void GetGpuProcessHandles(
24 const GetGpuProcessHandlesCallback& callback) const override;
26 DISALLOW_COPY_AND_ASSIGN(GPUSupportImpl);
29 } // namespace ash
31 #endif // ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_