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

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

Issue 2810593003: gpu: Some cleanups. (Closed)
Patch Set: . Created 3 years, 8 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
« no previous file with comments | « ash/content/gpu_support_impl.h ('k') | ash/gpu_support.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 #include "ash/content/gpu_support_impl.h" 5 #include "ash/content/gpu_support_impl.h"
6 6
7 #include "content/public/browser/gpu_data_manager.h" 7 #include "content/public/browser/gpu_data_manager.h"
8 #include "gpu/config/gpu_feature_type.h" 8 #include "gpu/config/gpu_feature_type.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 GPUSupportImpl::GPUSupportImpl() {} 12 GPUSupportImpl::GPUSupportImpl() {}
13 13
14 GPUSupportImpl::~GPUSupportImpl() {} 14 GPUSupportImpl::~GPUSupportImpl() {}
15 15
16 bool GPUSupportImpl::IsPanelFittingDisabled() const { 16 bool GPUSupportImpl::IsPanelFittingDisabled() const {
17 return content::GpuDataManager::GetInstance()->IsFeatureBlacklisted( 17 return content::GpuDataManager::GetInstance()->IsFeatureBlacklisted(
18 gpu::GPU_FEATURE_TYPE_PANEL_FITTING); 18 gpu::GPU_FEATURE_TYPE_PANEL_FITTING);
19 } 19 }
20 20
21 void GPUSupportImpl::GetGpuProcessHandles(
22 const GetGpuProcessHandlesCallback& callback) const {
23 content::GpuDataManager::GetInstance()->GetGpuProcessHandles(callback);
24 }
25
26 } // namespace ash 21 } // namespace ash
OLDNEW
« no previous file with comments | « ash/content/gpu_support_impl.h ('k') | ash/gpu_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698