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

Unified Diff: content/common/gpu_feature_flags.h

Issue 6712048: Implement easy GPU feature status summary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: First rev Created 9 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu_feature_flags.h
diff --git a/content/common/gpu_feature_flags.h b/content/common/gpu_feature_flags.h
index 38fd1a624b719aa4a14b532c04b7fac82e0fdb48..680640dd2dc688b3c1dd38bb28deba706fbd157c 100644
--- a/content/common/gpu_feature_flags.h
+++ b/content/common/gpu_feature_flags.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -47,6 +47,11 @@ class GpuFeatureFlags {
static GpuFeatureType StringToGpuFeatureType(
const std::string& feature_string);
+ // Gets a user-friendly string version of a feature type for use in
+ // about:gpu. For example, kGpuFeatureAccelerated2dCanvas becomes
+ // "Acclerated 2D Canvas"
Avi (use Gerrit) 2011/04/07 00:28:20 typo: Accelerated
+ static std::string GpuFeatureTypeToUserFriendlyString(GpuFeatureType feature);
+
private:
static const char kGpuFeatureNameAccelerated2dCanvas[];
static const char kGpuFeatureNameAcceleratedCompositing[];

Powered by Google App Engine
This is Rietveld 408576698