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

Unified Diff: ash/content_support/gpu_support_impl.h

Issue 138223004: Inject GPUDataManager support into ash to abstract a content dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/content_support/ash_with_content_export.h ('k') | ash/content_support/gpu_support_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/content_support/gpu_support_impl.h
diff --git a/ash/content_support/gpu_support_impl.h b/ash/content_support/gpu_support_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..ee82d06d38c24f72cbfa8b421d131cdb89570bb4
--- /dev/null
+++ b/ash/content_support/gpu_support_impl.h
@@ -0,0 +1,29 @@
+// 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/gpu_support.h"
+
+namespace ash {
+
+class 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_
« no previous file with comments | « ash/content_support/ash_with_content_export.h ('k') | ash/content_support/gpu_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698