| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 |
| 11 // ----------------------------------------------------------------------------- | 11 // ----------------------------------------------------------------------------- |
| 12 // Can't find the switch you are looking for? try looking in | 12 // Can't find the switch you are looking for? try looking in |
| 13 // base/base_switches.cc instead. | 13 // base/base_switches.cc instead. |
| 14 // ----------------------------------------------------------------------------- | 14 // ----------------------------------------------------------------------------- |
| 15 | 15 |
| 16 // Activate (make foreground) myself on launch. Helpful when Chrome | 16 // Activate (make foreground) myself on launch. Helpful when Chrome |
| 17 // is launched on the command line (e.g. by Selenium). Only needed on Mac. | 17 // is launched on the command line (e.g. by Selenium). Only needed on Mac. |
| 18 const char kActivateOnLaunch[] = "activate-on-launch"; | 18 const char kActivateOnLaunch[] = "activate-on-launch"; |
| 19 | 19 |
| 20 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 21 // override for developers who need the old behavior for testing. |
| 22 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; |
| 23 |
| 20 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). | 24 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). |
| 21 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; | 25 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; |
| 22 | 26 |
| 23 // Enable web inspector for all windows, even if they're part of the browser. | 27 // Enable web inspector for all windows, even if they're part of the browser. |
| 24 // Allows us to use our dev tools to debug browser windows itself. | 28 // Allows us to use our dev tools to debug browser windows itself. |
| 25 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; | 29 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; |
| 26 | 30 |
| 27 // Specifies that the associated value should be launched in "application" mode. | 31 // Specifies that the associated value should be launched in "application" mode. |
| 28 const char kApp[] = "app"; | 32 const char kApp[] = "app"; |
| 29 | 33 |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 | 800 |
| 797 // ----------------------------------------------------------------------------- | 801 // ----------------------------------------------------------------------------- |
| 798 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 802 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 799 // | 803 // |
| 800 // You were going to just dump your switches here, weren't you? Instead, | 804 // You were going to just dump your switches here, weren't you? Instead, |
| 801 // please put them in alphabetical order above, or in order inside the | 805 // please put them in alphabetical order above, or in order inside the |
| 802 // appropriate ifdef at the bottom. The order should match the header. | 806 // appropriate ifdef at the bottom. The order should match the header. |
| 803 // ----------------------------------------------------------------------------- | 807 // ----------------------------------------------------------------------------- |
| 804 | 808 |
| 805 } // namespace switches | 809 } // namespace switches |
| OLD | NEW |