Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Side by Side Diff: ash/content/gpu_support_impl.h

Issue 2048443002: ABANDONED: mash: Move shell delegate interfaces to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveshelfmodel
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_GPU_SUPPORT_IMPL_H_ 5 #ifndef ASH_CONTENT_GPU_SUPPORT_IMPL_H_
6 #define ASH_CONTENT_GPU_SUPPORT_IMPL_H_ 6 #define ASH_CONTENT_GPU_SUPPORT_IMPL_H_
7 7
8 #include "ash/common/gpu_support.h"
8 #include "ash/content/ash_with_content_export.h" 9 #include "ash/content/ash_with_content_export.h"
9 #include "ash/gpu_support.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 namespace ash { 12 namespace ash {
13 13
14 // Support for a real GPU, which relies on access to src/content. 14 // Support for a real GPU, which relies on access to src/content.
15 class ASH_WITH_CONTENT_EXPORT GPUSupportImpl : public GPUSupport { 15 class ASH_WITH_CONTENT_EXPORT GPUSupportImpl : public GPUSupport {
16 public: 16 public:
17 GPUSupportImpl(); 17 GPUSupportImpl();
18 ~GPUSupportImpl() override; 18 ~GPUSupportImpl() override;
19 19
20 private: 20 private:
21 // Overridden from GPUSupport: 21 // Overridden from GPUSupport:
22 bool IsPanelFittingDisabled() const override; 22 bool IsPanelFittingDisabled() const override;
23 void DisableGpuWatchdog() override; 23 void DisableGpuWatchdog() override;
24 void GetGpuProcessHandles( 24 void GetGpuProcessHandles(
25 const GetGpuProcessHandlesCallback& callback) const override; 25 const GetGpuProcessHandlesCallback& callback) const override;
26 26
27 DISALLOW_COPY_AND_ASSIGN(GPUSupportImpl); 27 DISALLOW_COPY_AND_ASSIGN(GPUSupportImpl);
28 }; 28 };
29 29
30 } // namespace ash 30 } // namespace ash
31 31
32 #endif // ASH_CONTENT_GPU_SUPPORT_IMPL_H_ 32 #endif // ASH_CONTENT_GPU_SUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698