Index: chrome/browser/chrome_browser_main.h |
=================================================================== |
--- chrome/browser/chrome_browser_main.h (revision 140632) |
+++ chrome/browser/chrome_browser_main.h (working copy) |
@@ -52,6 +52,10 @@ |
// Add additional ChromeBrowserMainExtraParts. |
virtual void AddParts(ChromeBrowserMainExtraParts* parts); |
+ static bool in_force_compositing_mode_trial() { |
+ return in_force_compositing_mode_trial_; |
+ } |
Ilya Sherman
2012/06/06 22:31:51
Do we really need to cache this, rather than query
vangelis
2012/06/06 23:44:44
I removed the public method and replaced it with a
Ilya Sherman
2012/06/07 05:27:24
I'd prefer #2, as it only requires global /constan
|
+ |
protected: |
explicit ChromeBrowserMainParts( |
const content::MainFunctionParams& parameters); |
@@ -129,6 +133,9 @@ |
// Field trial for testing domain bound certs. |
void DomainBoundCertsFieldTrial(); |
+ // Field trial for testing compositing on all pages. |
+ void ForceCompositingModeFieldTrial(); |
+ |
// A collection of field trials intended to test the uniformity and |
// correctness of the field trial control, bucketing and reporting systems. |
void SetupUniformityFieldTrials(); |
@@ -215,6 +222,10 @@ |
// network stack, as this can only be done once. |
static bool disable_enforcing_cookie_policies_for_tests_; |
+ // Set to true if the force-compositing-mode trial has been enabled for |
+ // this client. |
+ static bool in_force_compositing_mode_trial_; |
+ |
friend class BrowserMainTest; |
FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, |
WarmConnectionFieldTrial_WarmestSocket); |