blob: d82c3140c210bb619d864b0ae5d9234d3976cb58 [file] [log] [blame]
[email protected]99edff3e2014-01-31 18:20:361// 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.
4
5#ifndef ASH_GPU_SUPPORT_STUB_H_
6#define ASH_GPU_SUPPORT_STUB_H_
7
8#include "ash/ash_export.h"
9#include "ash/gpu_support.h"
10#include "base/compiler_specific.h"
11
12namespace ash {
13
14// A GPUSupport object that does not depend on src/content.
15class ASH_EXPORT GPUSupportStub : public GPUSupport {
16 public:
17 GPUSupportStub();
dcheng1f4538e2014-10-27 23:57:0518 ~GPUSupportStub() override;
[email protected]99edff3e2014-01-31 18:20:3619
20 private:
21 // Overridden from GPUSupport:
dcheng1f4538e2014-10-27 23:57:0522 bool IsPanelFittingDisabled() const override;
23 void DisableGpuWatchdog() override;
24 void GetGpuProcessHandles(
mostynb10d6b382014-10-03 16:23:4525 const GetGpuProcessHandlesCallback& callback) const override;
[email protected]99edff3e2014-01-31 18:20:3626
27 DISALLOW_COPY_AND_ASSIGN(GPUSupportStub);
28};
29
30} // namespace ash
31
32#endif // ASH_GPU_SUPPORT_STUB_H_