| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef ASH_COMMON_GPU_SUPPORT_STUB_H_ | |
| 6 #define ASH_COMMON_GPU_SUPPORT_STUB_H_ | |
| 7 | |
| 8 #include "ash/ash_export.h" | |
| 9 #include "ash/common/gpu_support.h" | |
| 10 #include "base/macros.h" | |
| 11 | |
| 12 namespace ash { | |
| 13 | |
| 14 // A GPUSupport object that does not depend on src/content. | |
| 15 class ASH_EXPORT GPUSupportStub : public GPUSupport { | |
| 16 public: | |
| 17 GPUSupportStub(); | |
| 18 ~GPUSupportStub() override; | |
| 19 | |
| 20 private: | |
| 21 // Overridden from GPUSupport: | |
| 22 bool IsPanelFittingDisabled() const override; | |
| 23 void GetGpuProcessHandles( | |
| 24 const GetGpuProcessHandlesCallback& callback) const override; | |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(GPUSupportStub); | |
| 27 }; | |
| 28 | |
| 29 } // namespace ash | |
| 30 | |
| 31 #endif // ASH_COMMON_GPU_SUPPORT_STUB_H_ | |
| OLD | NEW |