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 3// found in the LICENSE file. 4 5#include "ash/content_support/gpu_support_impl.h" 6 7#include "content/public/browser/gpu_data_manager.h" 8#include "gpu/config/gpu_feature_type.h" 9 10namespace ash { 11 12GPUSupportImpl::GPUSupportImpl() { 13} 14 15GPUSupportImpl::~GPUSupportImpl() { 16} 17 18bool GPUSupportImpl::IsPanelFittingDisabled() const { 19 return content::GpuDataManager::GetInstance()->IsFeatureBlacklisted( 20 gpu::GPU_FEATURE_TYPE_PANEL_FITTING); 21} 22 23void GPUSupportImpl::DisableGpuWatchdog() { 24 content::GpuDataManager::GetInstance()->DisableGpuWatchdog(); 25} 26 27void GPUSupportImpl::GetGpuProcessHandles( 28 const GetGpuProcessHandlesCallback& callback) const { 29 content::GpuDataManager::GetInstance()->GetGpuProcessHandles(callback); 30} 31 32} // namespace ash 33