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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 | 606 |
607 // Forces the apps/webstore promo to be shown, independent of whether it has | 607 // Forces the apps/webstore promo to be shown, independent of whether it has |
608 // timed out, etc. Useful for testing. | 608 // timed out, etc. Useful for testing. |
609 const char kForceAppsPromoVisible[] = "force-apps-promo-visible"; | 609 const char kForceAppsPromoVisible[] = "force-apps-promo-visible"; |
610 | 610 |
611 // If accelerated compositing is supported, always enter compositing mode for | 611 // If accelerated compositing is supported, always enter compositing mode for |
612 // the base layer even when compositing is not strictly required. | 612 // the base layer even when compositing is not strictly required. |
613 const char kForceCompositingMode[] = "force-compositing-mode"; | 613 const char kForceCompositingMode[] = "force-compositing-mode"; |
614 | 614 |
615 // Some field tests may rendomized in the browser, and the randomly selected | 615 // Some field tests may rendomized in the browser, and the randomly selected |
616 // outcome needs to be propogated to the renderer. For instance, this is used | 616 // outcome needs to be propagated to the renderer. For instance, this is used |
617 // to modify histograms recorded in the renderer, or to get the renderer to | 617 // to modify histograms recorded in the renderer, or to get the renderer to |
618 // also set of its state (initialize, or not initialize components) to match the | 618 // also set of its state (initialize, or not initialize components) to match the |
619 // experiment(s). | 619 // experiment(s). |
620 // The argument is a string-ized list of experiment names, and the associated | 620 // The argument is a string-ized list of experiment names, and the associated |
621 // value that was randomly selected. In the recent implementetaion, the | 621 // value that was randomly selected. In the recent implementetaion, the |
622 // persistent representation generated by field_trial.cc and later decoded, is a | 622 // persistent representation generated by field_trial.cc and later decoded, is a |
623 // list of name and value pairs, separated by slashes. See field trial.cc for | 623 // list of name and value pairs, separated by slashes. See field trial.cc for |
624 // current details. | 624 // current details. |
625 const char kForceFieldTestNameAndValue[] = "force-fieldtest"; | 625 const char kForceFieldTestNameAndValue[] = "force-fieldtest"; |
626 | 626 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 // Use the latest incarnation of the new tab page. | 748 // Use the latest incarnation of the new tab page. |
749 const char kNewTabPage4[] = "new-tab-page-4"; | 749 const char kNewTabPage4[] = "new-tab-page-4"; |
750 | 750 |
751 // Disables the default browser check. Useful for UI/browser tests where we | 751 // Disables the default browser check. Useful for UI/browser tests where we |
752 // want to avoid having the default browser info-bar displayed. | 752 // want to avoid having the default browser info-bar displayed. |
753 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; | 753 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; |
754 | 754 |
755 // Don't record/playback events when using record & playback. | 755 // Don't record/playback events when using record & playback. |
756 const char kNoEvents[] = "no-events"; | 756 const char kNoEvents[] = "no-events"; |
757 | 757 |
758 // Bypass the First Run experience when the browser is started, regardless of | |
759 // Disables all experiments set on about:flags. Does not disable about:flags | 758 // Disables all experiments set on about:flags. Does not disable about:flags |
760 // itself. Useful if an experiment makes chrome crash at startup: One can start | 759 // itself. Useful if an experiment makes chrome crash at startup: One can start |
761 // chrome with --no-experiments, disable the problematic lab at about:flags and | 760 // chrome with --no-experiments, disable the problematic lab at about:flags and |
762 // then restart chrome without this switch again. | 761 // then restart chrome without this switch again. |
763 const char kNoExperiments[] = "no-experiments"; | 762 const char kNoExperiments[] = "no-experiments"; |
764 | 763 |
765 // whether or not it's actually the first run. Overrides kFirstRun in case | 764 // whether or not it's actually the first run. Overrides kFirstRun in case |
766 // you're for some reason tempted to pass them both. | 765 // you're for some reason tempted to pass them both. |
767 const char kNoFirstRun[] = "no-first-run"; | 766 const char kNoFirstRun[] = "no-first-run"; |
768 | 767 |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1198 | 1197 |
1199 // ----------------------------------------------------------------------------- | 1198 // ----------------------------------------------------------------------------- |
1200 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1199 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1201 // | 1200 // |
1202 // You were going to just dump your switches here, weren't you? Instead, | 1201 // You were going to just dump your switches here, weren't you? Instead, |
1203 // please put them in alphabetical order above, or in order inside the | 1202 // please put them in alphabetical order above, or in order inside the |
1204 // appropriate ifdef at the bottom. The order should match the header. | 1203 // appropriate ifdef at the bottom. The order should match the header. |
1205 // ----------------------------------------------------------------------------- | 1204 // ----------------------------------------------------------------------------- |
1206 | 1205 |
1207 } // namespace switches | 1206 } // namespace switches |
OLD | NEW |