OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 const char kFocusExistingTabOnOpen[] = "focus-existing-tab-on-open"; | 604 const char kFocusExistingTabOnOpen[] = "focus-existing-tab-on-open"; |
605 | 605 |
606 // Display the First Run experience when the browser is started, regardless of | 606 // Display the First Run experience when the browser is started, regardless of |
607 // whether or not it's actually the first run. | 607 // whether or not it's actually the first run. |
608 const char kFirstRun[] = "first-run"; | 608 const char kFirstRun[] = "first-run"; |
609 | 609 |
610 // Forces the apps/webstore promo to be shown, independent of whether it has | 610 // Forces the apps/webstore promo to be shown, independent of whether it has |
611 // timed out, etc. Useful for testing. | 611 // timed out, etc. Useful for testing. |
612 const char kForceAppsPromoVisible[] = "force-apps-promo-visible"; | 612 const char kForceAppsPromoVisible[] = "force-apps-promo-visible"; |
613 | 613 |
| 614 // If accelerated compositing is supported, always enter compositing mode for |
| 615 // the base layer even when compositing is not strictly required. |
| 616 const char kForceCompositingMode[] = "force-compositing-mode"; |
| 617 |
614 // Some field tests may rendomized in the browser, and the randomly selected | 618 // Some field tests may rendomized in the browser, and the randomly selected |
615 // outcome needs to be propogated to the renderer. For instance, this is used | 619 // outcome needs to be propogated to the renderer. For instance, this is used |
616 // to modify histograms recorded in the renderer, or to get the renderer to | 620 // to modify histograms recorded in the renderer, or to get the renderer to |
617 // also set of its state (initialize, or not initialize components) to match the | 621 // also set of its state (initialize, or not initialize components) to match the |
618 // experiment(s). | 622 // experiment(s). |
619 // The argument is a string-ized list of experiment names, and the associated | 623 // The argument is a string-ized list of experiment names, and the associated |
620 // value that was randomly selected. In the recent implementetaion, the | 624 // value that was randomly selected. In the recent implementetaion, the |
621 // persistent representation generated by field_trial.cc and later decoded, is a | 625 // persistent representation generated by field_trial.cc and later decoded, is a |
622 // list of name and value pairs, separated by slashes. See field trial.cc for | 626 // list of name and value pairs, separated by slashes. See field trial.cc for |
623 // current details. | 627 // current details. |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1197 | 1201 |
1198 // ----------------------------------------------------------------------------- | 1202 // ----------------------------------------------------------------------------- |
1199 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1203 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1200 // | 1204 // |
1201 // You were going to just dump your switches here, weren't you? Instead, | 1205 // You were going to just dump your switches here, weren't you? Instead, |
1202 // please put them in alphabetical order above, or in order inside the | 1206 // please put them in alphabetical order above, or in order inside the |
1203 // appropriate ifdef at the bottom. The order should match the header. | 1207 // appropriate ifdef at the bottom. The order should match the header. |
1204 // ----------------------------------------------------------------------------- | 1208 // ----------------------------------------------------------------------------- |
1205 | 1209 |
1206 } // namespace switches | 1210 } // namespace switches |
OLD | NEW |