| 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 #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 |
| OLD | NEW |