OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_GPU_UTIL_H_ | 5 #ifndef CHROME_BROWSER_GPU_UTIL_H_ |
6 #define CHROME_BROWSER_GPU_UTIL_H_ | 6 #define CHROME_BROWSER_GPU_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/public/common/gpu_feature_type.h" | 10 #include "content/public/common/gpu_feature_type.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // | 61 // |
62 // Caller is responsible for deleting the returned value. | 62 // Caller is responsible for deleting the returned value. |
63 base::Value* GetFeatureStatus(); | 63 base::Value* GetFeatureStatus(); |
64 | 64 |
65 // Returns the GpuInfo as a DictionaryValue. | 65 // Returns the GpuInfo as a DictionaryValue. |
66 base::DictionaryValue* GpuInfoAsDictionaryValue(); | 66 base::DictionaryValue* GpuInfoAsDictionaryValue(); |
67 | 67 |
68 // Send UMA histograms about the enabled features. | 68 // Send UMA histograms about the enabled features. |
69 void UpdateStats(); | 69 void UpdateStats(); |
70 | 70 |
71 // Returs whether this client has been selected for the force-compositing-mode | 71 // Returns whether this client has been selected for the force-compositing-mode |
72 // trial. | 72 // or threaded-compositor trial. |
73 bool InForceCompositingModeTrial(); | 73 bool InForceCompositingModeOrThreadTrial(); |
74 | 74 |
75 // Sets up the force-compositing-mode field trial. | 75 // Sets up the force-compositing-mode field trial. |
76 void InitializeForceCompositingModeFieldTrial(); | 76 void InitializeForceCompositingModeFieldTrial(); |
77 | 77 |
78 } // namespace gpu_util | 78 } // namespace gpu_util |
79 | 79 |
80 #endif // CHROME_BROWSER_GPU_UTIL_H_ | 80 #endif // CHROME_BROWSER_GPU_UTIL_H_ |
OLD | NEW |