Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / ash / content_support / gpu_support_impl.cc
blobd425d89ff4b6e04ec3837a584fda722566a5674a
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.
5 #include "ash/content_support/gpu_support_impl.h"
7 #include "content/public/browser/gpu_data_manager.h"
8 #include "gpu/config/gpu_feature_type.h"
10 namespace ash {
12 GPUSupportImpl::GPUSupportImpl() {
15 GPUSupportImpl::~GPUSupportImpl() {
18 bool GPUSupportImpl::IsPanelFittingDisabled() const {
19 return content::GpuDataManager::GetInstance()->IsFeatureBlacklisted(
20 gpu::GPU_FEATURE_TYPE_PANEL_FITTING);
23 void GPUSupportImpl::DisableGpuWatchdog() {
24 content::GpuDataManager::GetInstance()->DisableGpuWatchdog();
27 void GPUSupportImpl::GetGpuProcessHandles(
28 const GetGpuProcessHandlesCallback& callback) const {
29 content::GpuDataManager::GetInstance()->GetGpuProcessHandles(callback);
32 } // namespace ash