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

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

Issue 132173006: Provide real GPUSupport to ash for Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win (gpu_support) Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « ash/ash.gyp ('k') | ash/content_support/inject.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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/gpu_support.h" 9 #include "ash/gpu_support.h"
9 10
10 namespace ash { 11 namespace ash {
11 12
12 class GPUSupportImpl : public GPUSupport { 13 // Support for a real GPU, which relies on access to src/content.
14 class ASH_WITH_CONTENT_EXPORT GPUSupportImpl : public GPUSupport {
13 public: 15 public:
14 GPUSupportImpl(); 16 GPUSupportImpl();
15 virtual ~GPUSupportImpl(); 17 virtual ~GPUSupportImpl();
16 18
17 private: 19 private:
18 // Overridden from GPUSupport: 20 // Overridden from GPUSupport:
19 virtual bool IsPanelFittingDisabled() const OVERRIDE; 21 virtual bool IsPanelFittingDisabled() const OVERRIDE;
20 virtual void DisableGpuWatchdog() OVERRIDE; 22 virtual void DisableGpuWatchdog() OVERRIDE;
21 virtual void GetGpuProcessHandles( 23 virtual void GetGpuProcessHandles(
22 const GetGpuProcessHandlesCallback& callback) const OVERRIDE; 24 const GetGpuProcessHandlesCallback& callback) const OVERRIDE;
23 25
24 DISALLOW_COPY_AND_ASSIGN(GPUSupportImpl); 26 DISALLOW_COPY_AND_ASSIGN(GPUSupportImpl);
25 }; 27 };
26 28
27 } // namespace ash 29 } // namespace ash
28 30
29 #endif // ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_ 31 #endif // ASH_CONTENT_SUPPORT_GPU_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/content_support/inject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698