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

Side by Side Diff: chrome/browser/gpu_util.h

Issue 10824168: Cleaning up compositing field trial code and enable FCM in beta/stable (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: revert some.gyp Created 8 years, 4 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 unified diff | Download patch
OLDNEW
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Returns whether this client has been selected for the force-compositing-mode 72 // Sets up force-compositing-mode and threaded compositing field trials.
73 // or threaded-compositor trial. 73 void InitializeCompositingFieldTrial();
74 bool InForceCompositingModeOrThreadTrial();
75
76 // Sets up the force-compositing-mode field trial.
77 void InitializeForceCompositingModeFieldTrial();
78 74
79 } // namespace gpu_util 75 } // namespace gpu_util
80 76
81 #endif // CHROME_BROWSER_GPU_UTIL_H_ 77 #endif // CHROME_BROWSER_GPU_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698