| 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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". | 778 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
| 779 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix"; | 779 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix"; |
| 780 | 780 |
| 781 // Causes the Native Client process to display a dialog on launch. | 781 // Causes the Native Client process to display a dialog on launch. |
| 782 const char kNaClStartupDialog[] = "nacl-startup-dialog"; | 782 const char kNaClStartupDialog[] = "nacl-startup-dialog"; |
| 783 | 783 |
| 784 // Sets the base logging level for the net log. Log 0 logs the most data. | 784 // Sets the base logging level for the net log. Log 0 logs the most data. |
| 785 // Intended primarily for use with --log-net-log. | 785 // Intended primarily for use with --log-net-log. |
| 786 const char kNetLogLevel[] = "net-log-level"; | 786 const char kNetLogLevel[] = "net-log-level"; |
| 787 | 787 |
| 788 // Disables the latest incarnation of the new tab page. Only intended for | |
| 789 // testing use. For TOUCH_UI, the meaning is inverted (i.e. default is to | |
| 790 // disable NTP4, and passing the flag will enable it). | |
| 791 const char kNewTabPage[] = "new-tab-page"; | |
| 792 | |
| 793 // Disables the default browser check. Useful for UI/browser tests where we | 788 // Disables the default browser check. Useful for UI/browser tests where we |
| 794 // want to avoid having the default browser info-bar displayed. | 789 // want to avoid having the default browser info-bar displayed. |
| 795 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; | 790 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; |
| 796 | 791 |
| 797 // By default, an https page can load images, fonts or frames from an http | 792 // By default, an https page can load images, fonts or frames from an http |
| 798 // page. This switch overrides this to block this lesser mixed-content problem. | 793 // page. This switch overrides this to block this lesser mixed-content problem. |
| 799 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; | 794 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; |
| 800 | 795 |
| 801 // Don't record/playback events when using record & playback. | 796 // Don't record/playback events when using record & playback. |
| 802 const char kNoEvents[] = "no-events"; | 797 const char kNoEvents[] = "no-events"; |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1297 | 1292 |
| 1298 // ----------------------------------------------------------------------------- | 1293 // ----------------------------------------------------------------------------- |
| 1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1294 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1300 // | 1295 // |
| 1301 // You were going to just dump your switches here, weren't you? Instead, please | 1296 // You were going to just dump your switches here, weren't you? Instead, please |
| 1302 // put them in alphabetical order above, or in order inside the appropriate | 1297 // put them in alphabetical order above, or in order inside the appropriate |
| 1303 // ifdef at the bottom. The order should match the header. | 1298 // ifdef at the bottom. The order should match the header. |
| 1304 // ----------------------------------------------------------------------------- | 1299 // ----------------------------------------------------------------------------- |
| 1305 | 1300 |
| 1306 } // namespace switches | 1301 } // namespace switches |
| OLD | NEW |