| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 // Causes the browser to launch directly in incognito mode. | 785 // Causes the browser to launch directly in incognito mode. |
| 786 const char kIncognito[] = "incognito"; | 786 const char kIncognito[] = "incognito"; |
| 787 | 787 |
| 788 // URL to use for instant. If specified this overrides the url from the | 788 // URL to use for instant. If specified this overrides the url from the |
| 789 // TemplateURL. | 789 // TemplateURL. |
| 790 const char kInstantURL[] = "instant-url"; | 790 const char kInstantURL[] = "instant-url"; |
| 791 | 791 |
| 792 // Used for testing - keeps browser alive after last browser window closes. | 792 // Used for testing - keeps browser alive after last browser window closes. |
| 793 const char kKeepAliveForTest[] = "keep-alive-for-test"; | 793 const char kKeepAliveForTest[] = "keep-alive-for-test"; |
| 794 | 794 |
| 795 // Enable Kiosk mode. |
| 796 const char kKioskMode[] = "kiosk"; |
| 797 |
| 798 // Print automatically in kiosk mode. |kKioskMode| must be set as well. |
| 799 // See http://crbug.com/31395. |
| 800 const char kKioskModePrinting[] = "kiosk-printing"; |
| 801 |
| 795 // Comma-separated list of directories with component extensions to load. | 802 // Comma-separated list of directories with component extensions to load. |
| 796 const char kLoadComponentExtension[] = "load-component-extension"; | 803 const char kLoadComponentExtension[] = "load-component-extension"; |
| 797 | 804 |
| 798 // Loads an extension from the specified directory. | 805 // Loads an extension from the specified directory. |
| 799 const char kLoadExtension[] = "load-extension"; | 806 const char kLoadExtension[] = "load-extension"; |
| 800 | 807 |
| 801 // Loads the opencryptoki library into NSS at startup. This is only needed | 808 // Loads the opencryptoki library into NSS at startup. This is only needed |
| 802 // temporarily for developers who need to work on WiFi/VPN certificate code. | 809 // temporarily for developers who need to work on WiFi/VPN certificate code. |
| 803 // | 810 // |
| 804 // TODO(gspencer): Remove this switch once cryptohomed work is finished: | 811 // TODO(gspencer): Remove this switch once cryptohomed work is finished: |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1431 | 1438 |
| 1432 // A process type (switches::kProcessType) that relaunches the browser. See | 1439 // A process type (switches::kProcessType) that relaunches the browser. See |
| 1433 // chrome/browser/mac/relauncher.h. | 1440 // chrome/browser/mac/relauncher.h. |
| 1434 const char kRelauncherProcess[] = "relauncher"; | 1441 const char kRelauncherProcess[] = "relauncher"; |
| 1435 | 1442 |
| 1436 // Uses mock keychain for testing purposes, which prevents blocking dialogs | 1443 // Uses mock keychain for testing purposes, which prevents blocking dialogs |
| 1437 // from causing timeouts. | 1444 // from causing timeouts. |
| 1438 const char kUseMockKeychain[] = "use-mock-keychain"; | 1445 const char kUseMockKeychain[] = "use-mock-keychain"; |
| 1439 #endif | 1446 #endif |
| 1440 | 1447 |
| 1441 #if !defined(OS_MACOSX) | |
| 1442 // Enables Kiosk mode. | |
| 1443 const char kKioskMode[] = "kiosk"; | |
| 1444 | |
| 1445 // Print automatically in kiosk mode. |kKioskMode| must be set as well. | |
| 1446 // See http://crbug.com/31395. | |
| 1447 const char kKioskModePrinting[] = "kiosk-printing"; | |
| 1448 #endif | |
| 1449 | |
| 1450 #if defined(OS_WIN) | 1448 #if defined(OS_WIN) |
| 1451 // Disables profile desktop shortcuts handling, preventing their creation, | 1449 // Disables profile desktop shortcuts handling, preventing their creation, |
| 1452 // modification or removal. | 1450 // modification or removal. |
| 1453 const char kDisableDesktopShortcuts[] = "disable-desktop-shortcuts"; | 1451 const char kDisableDesktopShortcuts[] = "disable-desktop-shortcuts"; |
| 1454 #endif | 1452 #endif |
| 1455 | 1453 |
| 1456 #if defined(USE_AURA) | 1454 #if defined(USE_AURA) |
| 1457 // Use NativeTabContentsViewAura instead of the default implementation. | 1455 // Use NativeTabContentsViewAura instead of the default implementation. |
| 1458 const char kDisableTCVA[] = "disable-tcva"; | 1456 const char kDisableTCVA[] = "disable-tcva"; |
| 1459 | 1457 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1482 | 1480 |
| 1483 // ----------------------------------------------------------------------------- | 1481 // ----------------------------------------------------------------------------- |
| 1484 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1482 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1485 // | 1483 // |
| 1486 // You were going to just dump your switches here, weren't you? Instead, please | 1484 // You were going to just dump your switches here, weren't you? Instead, please |
| 1487 // put them in alphabetical order above, or in order inside the appropriate | 1485 // put them in alphabetical order above, or in order inside the appropriate |
| 1488 // ifdef at the bottom. The order should match the header. | 1486 // ifdef at the bottom. The order should match the header. |
| 1489 // ----------------------------------------------------------------------------- | 1487 // ----------------------------------------------------------------------------- |
| 1490 | 1488 |
| 1491 } // namespace switches | 1489 } // namespace switches |
| OLD | NEW |