Roll src/third_party/WebKit 6f84130:7353389 (svn 184386:184391)
[chromium-blink-merge.git] / ash / gpu_support_stub.h
blob59e063b70ac35fb7cfcaf14d1747163a1ad70629
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_GPU_SUPPORT_STUB_H_
6 #define ASH_GPU_SUPPORT_STUB_H_
8 #include "ash/ash_export.h"
9 #include "ash/gpu_support.h"
10 #include "base/compiler_specific.h"
12 namespace ash {
14 // A GPUSupport object that does not depend on src/content.
15 class ASH_EXPORT GPUSupportStub : public GPUSupport {
16 public:
17 GPUSupportStub();
18 virtual ~GPUSupportStub();
20 private:
21 // Overridden from GPUSupport:
22 virtual bool IsPanelFittingDisabled() const override;
23 virtual void DisableGpuWatchdog() override;
24 virtual void GetGpuProcessHandles(
25 const GetGpuProcessHandlesCallback& callback) const override;
27 DISALLOW_COPY_AND_ASSIGN(GPUSupportStub);
30 } // namespace ash
32 #endif // ASH_GPU_SUPPORT_STUB_H_