| 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 const char kFirstRun[] = "first-run"; | 546 const char kFirstRun[] = "first-run"; |
| 547 | 547 |
| 548 // Forces the apps/webstore promo to be shown, independent of whether it has | 548 // Forces the apps/webstore promo to be shown, independent of whether it has |
| 549 // timed out, etc. Useful for testing. | 549 // timed out, etc. Useful for testing. |
| 550 const char kForceAppsPromoVisible[] = "force-apps-promo-visible"; | 550 const char kForceAppsPromoVisible[] = "force-apps-promo-visible"; |
| 551 | 551 |
| 552 // If accelerated compositing is supported, always enter compositing mode for | 552 // If accelerated compositing is supported, always enter compositing mode for |
| 553 // the base layer even when compositing is not strictly required. | 553 // the base layer even when compositing is not strictly required. |
| 554 const char kForceCompositingMode[] = "force-compositing-mode"; | 554 const char kForceCompositingMode[] = "force-compositing-mode"; |
| 555 | 555 |
| 556 // Some field tests may rendomized in the browser, and the randomly selected | |
| 557 // outcome needs to be propagated to the renderer. For instance, this is used | |
| 558 // to modify histograms recorded in the renderer, or to get the renderer to | |
| 559 // also set of its state (initialize, or not initialize components) to match the | |
| 560 // experiment(s). | |
| 561 // The argument is a string-ized list of experiment names, and the associated | |
| 562 // value that was randomly selected. In the recent implementetaion, the | |
| 563 // persistent representation generated by field_trial.cc and later decoded, is a | |
| 564 // list of name and value pairs, separated by slashes. See field trial.cc for | |
| 565 // current details. | |
| 566 const char kForceFieldTestNameAndValue[] = "force-fieldtest"; | |
| 567 | |
| 568 // Force renderer accessibility to be on instead of enabling it on demand when | 556 // Force renderer accessibility to be on instead of enabling it on demand when |
| 569 // a screen reader is detected. The disable-renderer-accessibility switch | 557 // a screen reader is detected. The disable-renderer-accessibility switch |
| 570 // overrides this if present. | 558 // overrides this if present. |
| 571 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 559 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
| 572 | 560 |
| 573 // Specifies a custom name for the GSSAPI library to load. | 561 // Specifies a custom name for the GSSAPI library to load. |
| 574 const char kGSSAPILibraryName[] = "gssapi-library-name"; | 562 const char kGSSAPILibraryName[] = "gssapi-library-name"; |
| 575 | 563 |
| 576 // These flags show the man page on Linux. They are equivalent to each | 564 // These flags show the man page on Linux. They are equivalent to each |
| 577 // other. | 565 // other. |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 | 804 |
| 817 // Reload pages that have been killed when they are next focused by the user. | 805 // Reload pages that have been killed when they are next focused by the user. |
| 818 const char kReloadKilledTabs[] = "reload-killed-tabs"; | 806 const char kReloadKilledTabs[] = "reload-killed-tabs"; |
| 819 | 807 |
| 820 // Enable remote debug over HTTP on the specified port. | 808 // Enable remote debug over HTTP on the specified port. |
| 821 const char kRemoteDebuggingPort[] = "remote-debugging-port"; | 809 const char kRemoteDebuggingPort[] = "remote-debugging-port"; |
| 822 | 810 |
| 823 // Enable remote debug / automation shell on the specified port. | 811 // Enable remote debug / automation shell on the specified port. |
| 824 const char kRemoteShellPort[] = "remote-shell-port"; | 812 const char kRemoteShellPort[] = "remote-shell-port"; |
| 825 | 813 |
| 826 // Causes the renderer process to throw an assertion on launch. | |
| 827 const char kRendererAssertTest[] = "renderer-assert-test"; | |
| 828 | |
| 829 #if !defined(OFFICIAL_BUILD) | |
| 830 // Causes the renderer process to throw an assertion on launch. | |
| 831 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | |
| 832 #endif | |
| 833 | |
| 834 // Indicates the last session should be restored on startup. This overrides | 814 // Indicates the last session should be restored on startup. This overrides |
| 835 // the preferences value and is primarily intended for testing. The value of | 815 // the preferences value and is primarily intended for testing. The value of |
| 836 // this switch is the number of tabs to wait until loaded before | 816 // this switch is the number of tabs to wait until loaded before |
| 837 // 'load completed' is sent to the ui_test. | 817 // 'load completed' is sent to the ui_test. |
| 838 const char kRestoreLastSession[] = "restore-last-session"; | 818 const char kRestoreLastSession[] = "restore-last-session"; |
| 839 | 819 |
| 840 // URL prefix used by safebrowsing to fetch hash, download data and | 820 // URL prefix used by safebrowsing to fetch hash, download data and |
| 841 // report malware. | 821 // report malware. |
| 842 const char kSbInfoURLPrefix[] = "safebrowsing-info-url-prefix"; | 822 const char kSbInfoURLPrefix[] = "safebrowsing-info-url-prefix"; |
| 843 | 823 |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1148 | 1128 |
| 1149 // ----------------------------------------------------------------------------- | 1129 // ----------------------------------------------------------------------------- |
| 1150 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1130 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1151 // | 1131 // |
| 1152 // You were going to just dump your switches here, weren't you? Instead, | 1132 // You were going to just dump your switches here, weren't you? Instead, |
| 1153 // please put them in alphabetical order above, or in order inside the | 1133 // please put them in alphabetical order above, or in order inside the |
| 1154 // appropriate ifdef at the bottom. The order should match the header. | 1134 // appropriate ifdef at the bottom. The order should match the header. |
| 1155 // ----------------------------------------------------------------------------- | 1135 // ----------------------------------------------------------------------------- |
| 1156 | 1136 |
| 1157 } // namespace switches | 1137 } // namespace switches |
| OLD | NEW |