OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_ | 5 #ifndef ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_ |
6 #define ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_ | 6 #define ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_ |
7 | 7 |
8 #include "ash/content_support/ash_with_content_export.h" | 8 #include "ash/content_support/ash_with_content_export.h" |
9 #include "ash/gpu_support.h" | 9 #include "ash/gpu_support.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 | 12 |
13 // Support for a real GPU, which relies on access to src/content. | 13 // Support for a real GPU, which relies on access to src/content. |
14 class ASH_WITH_CONTENT_EXPORT GPUSupportImpl : public GPUSupport { | 14 class ASH_WITH_CONTENT_EXPORT GPUSupportImpl : public GPUSupport { |
15 public: | 15 public: |
16 GPUSupportImpl(); | 16 GPUSupportImpl(); |
17 virtual ~GPUSupportImpl(); | 17 virtual ~GPUSupportImpl(); |
18 | 18 |
19 private: | 19 private: |
20 // Overridden from GPUSupport: | 20 // Overridden from GPUSupport: |
21 virtual bool IsPanelFittingDisabled() const OVERRIDE; | 21 virtual bool IsPanelFittingDisabled() const override; |
22 virtual void DisableGpuWatchdog() OVERRIDE; | 22 virtual void DisableGpuWatchdog() override; |
23 virtual void GetGpuProcessHandles( | 23 virtual void GetGpuProcessHandles( |
24 const GetGpuProcessHandlesCallback& callback) const OVERRIDE; | 24 const GetGpuProcessHandlesCallback& callback) const override; |
25 | 25 |
26 DISALLOW_COPY_AND_ASSIGN(GPUSupportImpl); | 26 DISALLOW_COPY_AND_ASSIGN(GPUSupportImpl); |
27 }; | 27 }; |
28 | 28 |
29 } // namespace ash | 29 } // namespace ash |
30 | 30 |
31 #endif // ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_ | 31 #endif // ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_ |
OLD | NEW |