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

Unified Diff: content/browser/gpu/gpu_util.h

Issue 10907098: Revert 155218 - Move gpu blacklist to content side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | « content/browser/gpu/gpu_data_manager_impl_unittest.cc ('k') | content/browser/gpu/gpu_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_util.h
===================================================================
--- content/browser/gpu/gpu_util.h (revision 155222)
+++ content/browser/gpu/gpu_util.h (working copy)
@@ -1,41 +0,0 @@
-// Copyright (c) 2012 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 CONTENT_BROWSER_GPU_GPU_UTIL_H_
-#define CONTENT_BROWSER_GPU_GPU_UTIL_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "build/build_config.h"
-#include "content/common/content_export.h"
-#include "content/public/common/gpu_feature_type.h"
-
-class GpuBlacklist;
-
-namespace gpu_util {
-
-// Maps string to GpuFeatureType; returns GPU_FEATURE_TYPE_UNKNOWN if none of
-// the following is input (case-sensitive):
-// "accelerated_2d_canvas"
-// "accelerated_compositing"
-// "webgl"
-// "multisampling"
-CONTENT_EXPORT content::GpuFeatureType StringToGpuFeatureType(
- const std::string& feature_string);
-
-// Gets a string version of a feature type for use in about:gpu. Will yield
-// strings from StringToGpuFeatureType, e.g.
-// GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS becomes "accelerated_2d_canvas"
-CONTENT_EXPORT std::string GpuFeatureTypeToString(
- content::GpuFeatureType feature);
-
-// Send UMA histograms about the enabled features.
-CONTENT_EXPORT void UpdateStats(
- const GpuBlacklist* blacklist, uint32 blacklisted_features);
-
-} // namespace gpu_util
-
-#endif // CONTENT_BROWSER_GPU_GPU_UTIL_H_
-
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_unittest.cc ('k') | content/browser/gpu/gpu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698