| 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 | |
| 24 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). | 20 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). |
| 25 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; | 21 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; |
| 26 | 22 |
| 27 // Enable web inspector for all windows, even if they're part of the browser. | 23 // Enable web inspector for all windows, even if they're part of the browser. |
| 28 // Allows us to use our dev tools to debug browser windows itself. | 24 // Allows us to use our dev tools to debug browser windows itself. |
| 29 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; | 25 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; |
| 30 | 26 |
| 31 // Specifies that the associated value should be launched in "application" mode. | 27 // Specifies that the associated value should be launched in "application" mode. |
| 32 const char kApp[] = "app"; | 28 const char kApp[] = "app"; |
| 33 | 29 |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 | 796 |
| 801 // ----------------------------------------------------------------------------- | 797 // ----------------------------------------------------------------------------- |
| 802 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 798 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 803 // | 799 // |
| 804 // You were going to just dump your switches here, weren't you? Instead, | 800 // You were going to just dump your switches here, weren't you? Instead, |
| 805 // please put them in alphabetical order above, or in order inside the | 801 // please put them in alphabetical order above, or in order inside the |
| 806 // appropriate ifdef at the bottom. The order should match the header. | 802 // appropriate ifdef at the bottom. The order should match the header. |
| 807 // ----------------------------------------------------------------------------- | 803 // ----------------------------------------------------------------------------- |
| 808 | 804 |
| 809 } // namespace switches | 805 } // namespace switches |
| OLD | NEW |