| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // | 62 // |
| 63 // Caller is responsible for deleting the returned value. | 63 // Caller is responsible for deleting the returned value. |
| 64 base::Value* GetFeatureStatus(); | 64 base::Value* GetFeatureStatus(); |
| 65 | 65 |
| 66 // Returns the GpuInfo as a DictionaryValue. | 66 // Returns the GpuInfo as a DictionaryValue. |
| 67 base::DictionaryValue* GpuInfoAsDictionaryValue(); | 67 base::DictionaryValue* GpuInfoAsDictionaryValue(); |
| 68 | 68 |
| 69 // Send UMA histograms about the enabled features. | 69 // Send UMA histograms about the enabled features. |
| 70 void UpdateStats(); | 70 void UpdateStats(); |
| 71 | 71 |
| 72 // Returs whether this client has been selected for the force-compositing-mode |
| 73 // trial. |
| 74 bool InForceCompositingModeTrial(); |
| 75 |
| 76 // Sets up the force-compositing-mode field trial. |
| 77 void InitializeForceCompositingModeFieldTrial(); |
| 78 |
| 72 } // namespace gpu_util | 79 } // namespace gpu_util |
| 73 | 80 |
| 74 #endif // CHROME_BROWSER_GPU_UTIL_H_ | 81 #endif // CHROME_BROWSER_GPU_UTIL_H_ |
| OLD | NEW |