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[]; |