summaryrefslogtreecommitdiffstats
path: root/ash/content_support/gpu_support_impl.h
blob: e7b243da0266d83843da8dcb360a1f876dfc5f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_
#define ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_

#include "ash/content_support/ash_with_content_export.h"
#include "ash/gpu_support.h"

namespace ash {

// Support for a real GPU, which relies on access to src/content.
class ASH_WITH_CONTENT_EXPORT GPUSupportImpl : public GPUSupport {
 public:
  GPUSupportImpl();
  virtual ~GPUSupportImpl();

 private:
  // Overridden from GPUSupport:
  virtual bool IsPanelFittingDisabled() const override;
  virtual void DisableGpuWatchdog() override;
  virtual void GetGpuProcessHandles(
      const GetGpuProcessHandlesCallback& callback) const override;

  DISALLOW_COPY_AND_ASSIGN(GPUSupportImpl);
};

}  // namespace ash

#endif  // ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_