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 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1441 #if !defined(OS_MACOSX) | 1441 #if !defined(OS_MACOSX) |
1442 // Enables Kiosk mode. | 1442 // Enables Kiosk mode. |
1443 const char kKioskMode[] = "kiosk"; | 1443 const char kKioskMode[] = "kiosk"; |
1444 | 1444 |
1445 // Print automatically in kiosk mode. |kKioskMode| must be set as well. | 1445 // Print automatically in kiosk mode. |kKioskMode| must be set as well. |
1446 // See http://crbug.com/31395. | 1446 // See http://crbug.com/31395. |
1447 const char kKioskModePrinting[] = "kiosk-printing"; | 1447 const char kKioskModePrinting[] = "kiosk-printing"; |
1448 #endif | 1448 #endif |
1449 | 1449 |
1450 #if defined(OS_WIN) | 1450 #if defined(OS_WIN) |
| 1451 // Activates the named app; see kWaitForHandle. |
| 1452 const char kActivateApp[] = "activate-app"; |
| 1453 |
1451 // Disables profile desktop shortcuts handling, preventing their creation, | 1454 // Disables profile desktop shortcuts handling, preventing their creation, |
1452 // modification or removal. | 1455 // modification or removal. |
1453 const char kDisableDesktopShortcuts[] = "disable-desktop-shortcuts"; | 1456 const char kDisableDesktopShortcuts[] = "disable-desktop-shortcuts"; |
| 1457 |
| 1458 // Waits for the handle to be signaled before activating. |
| 1459 const char kWaitForHandle[] = "wait-for-handle"; |
1454 #endif | 1460 #endif |
1455 | 1461 |
1456 #if defined(USE_AURA) | 1462 #if defined(USE_AURA) |
1457 // Use NativeTabContentsViewAura instead of the default implementation. | 1463 // Use NativeTabContentsViewAura instead of the default implementation. |
1458 const char kDisableTCVA[] = "disable-tcva"; | 1464 const char kDisableTCVA[] = "disable-tcva"; |
1459 | 1465 |
1460 // Opens an Ash window on startup. | 1466 // Opens an Ash window on startup. |
1461 extern const char kOpenAsh[] = "open-ash"; | 1467 extern const char kOpenAsh[] = "open-ash"; |
1462 #endif | 1468 #endif |
1463 | 1469 |
(...skipping 18 matching lines...) Expand all Loading... |
1482 | 1488 |
1483 // ----------------------------------------------------------------------------- | 1489 // ----------------------------------------------------------------------------- |
1484 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1490 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1485 // | 1491 // |
1486 // You were going to just dump your switches here, weren't you? Instead, please | 1492 // 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 | 1493 // put them in alphabetical order above, or in order inside the appropriate |
1488 // ifdef at the bottom. The order should match the header. | 1494 // ifdef at the bottom. The order should match the header. |
1489 // ----------------------------------------------------------------------------- | 1495 // ----------------------------------------------------------------------------- |
1490 | 1496 |
1491 } // namespace switches | 1497 } // namespace switches |
OLD | NEW |