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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". | 717 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
718 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix"; | 718 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix"; |
719 | 719 |
720 // Causes the Native Client process to display a dialog on launch. | 720 // Causes the Native Client process to display a dialog on launch. |
721 const char kNaClStartupDialog[] = "nacl-startup-dialog"; | 721 const char kNaClStartupDialog[] = "nacl-startup-dialog"; |
722 | 722 |
723 // Sets the base logging level for the net log. Log 0 logs the most data. | 723 // Sets the base logging level for the net log. Log 0 logs the most data. |
724 // Intended primarily for use with --log-net-log. | 724 // Intended primarily for use with --log-net-log. |
725 const char kNetLogLevel[] = "net-log-level"; | 725 const char kNetLogLevel[] = "net-log-level"; |
726 | 726 |
727 // Use the latest incarnation of the new tab page. | 727 // Disable the latest incarnation of the new tab page. Only intended for testing |
728 const char kNewTabPage4[] = "new-tab-page-4"; | 728 // use. For TOUCH_UI, the meaning is inverted (i.e. default is to disable NTP4, |
| 729 // and passing the flag will enable it). |
| 730 const char kNewTabPage[] = "new-tab-page"; |
729 | 731 |
730 // Disables the default browser check. Useful for UI/browser tests where we | 732 // Disables the default browser check. Useful for UI/browser tests where we |
731 // want to avoid having the default browser info-bar displayed. | 733 // want to avoid having the default browser info-bar displayed. |
732 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; | 734 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; |
733 | 735 |
734 // Don't record/playback events when using record & playback. | 736 // Don't record/playback events when using record & playback. |
735 const char kNoEvents[] = "no-events"; | 737 const char kNoEvents[] = "no-events"; |
736 | 738 |
737 // Disables all experiments set on about:flags. Does not disable about:flags | 739 // Disables all experiments set on about:flags. Does not disable about:flags |
738 // itself. Useful if an experiment makes chrome crash at startup: One can start | 740 // itself. Useful if an experiment makes chrome crash at startup: One can start |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1239 | 1241 |
1240 // ----------------------------------------------------------------------------- | 1242 // ----------------------------------------------------------------------------- |
1241 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1243 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1242 // | 1244 // |
1243 // You were going to just dump your switches here, weren't you? Instead, | 1245 // You were going to just dump your switches here, weren't you? Instead, |
1244 // please put them in alphabetical order above, or in order inside the | 1246 // please put them in alphabetical order above, or in order inside the |
1245 // appropriate ifdef at the bottom. The order should match the header. | 1247 // appropriate ifdef at the bottom. The order should match the header. |
1246 // ----------------------------------------------------------------------------- | 1248 // ----------------------------------------------------------------------------- |
1247 | 1249 |
1248 } // namespace switches | 1250 } // namespace switches |
OLD | NEW |