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 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1597 const char kWaitForMutex[] = "wait-for-mutex"; | 1597 const char kWaitForMutex[] = "wait-for-mutex"; |
1598 | 1598 |
1599 // Indicates that chrome was launched to service a search request in Windows 8. | 1599 // Indicates that chrome was launched to service a search request in Windows 8. |
1600 const char kWindows8Search[] = "windows8-search"; | 1600 const char kWindows8Search[] = "windows8-search"; |
1601 | 1601 |
1602 #endif | 1602 #endif |
1603 | 1603 |
1604 #if defined(OS_WIN) && defined(USE_AURA) | 1604 #if defined(OS_WIN) && defined(USE_AURA) |
1605 // Requests that Chrome connect to the running Metro viewer process. | 1605 // Requests that Chrome connect to the running Metro viewer process. |
1606 const char kViewerConnect[] = "viewer-connect"; | 1606 const char kViewerConnect[] = "viewer-connect"; |
| 1607 |
| 1608 // Requests that Chrome launch the Metro viewer process via the given appid |
| 1609 // (which is assumed to be registered as default browser) and synchronously |
| 1610 // connect to it. |
| 1611 const char kViewerLaunchViaAppId[] = "viewer-launch-via-appid"; |
1607 #endif | 1612 #endif |
1608 | 1613 |
1609 #ifndef NDEBUG | 1614 #ifndef NDEBUG |
1610 // Enables overriding the path of file manager extension. | 1615 // Enables overriding the path of file manager extension. |
1611 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; | 1616 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; |
1612 | 1617 |
1613 // Enables overriding the path of image loader extension. | 1618 // Enables overriding the path of image loader extension. |
1614 const char kImageLoaderExtensionPath[] = "image-loader-ext-path"; | 1619 const char kImageLoaderExtensionPath[] = "image-loader-ext-path"; |
1615 #endif // NDEBUG | 1620 #endif // NDEBUG |
1616 | 1621 |
1617 // Controls print preview in the browser process. | 1622 // Controls print preview in the browser process. |
1618 #if defined(GOOGLE_CHROME_BUILD) | 1623 #if defined(GOOGLE_CHROME_BUILD) |
1619 // Disables print preview (For testing, and for users who don't like us. :[ ) | 1624 // Disables print preview (For testing, and for users who don't like us. :[ ) |
1620 const char kDisablePrintPreview[] = "disable-print-preview"; | 1625 const char kDisablePrintPreview[] = "disable-print-preview"; |
1621 #else | 1626 #else |
1622 // Enables print preview (Force enable on Chromium, which normally does not | 1627 // Enables print preview (Force enable on Chromium, which normally does not |
1623 // have the PDF viewer required for print preview.) | 1628 // have the PDF viewer required for print preview.) |
1624 const char kEnablePrintPreview[] = "enable-print-preview"; | 1629 const char kEnablePrintPreview[] = "enable-print-preview"; |
1625 #endif | 1630 #endif |
1626 | 1631 |
1627 // ----------------------------------------------------------------------------- | 1632 // ----------------------------------------------------------------------------- |
1628 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1633 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1629 // | 1634 // |
1630 // You were going to just dump your switches here, weren't you? Instead, please | 1635 // You were going to just dump your switches here, weren't you? Instead, please |
1631 // put them in alphabetical order above, or in order inside the appropriate | 1636 // put them in alphabetical order above, or in order inside the appropriate |
1632 // ifdef at the bottom. The order should match the header. | 1637 // ifdef at the bottom. The order should match the header. |
1633 // ----------------------------------------------------------------------------- | 1638 // ----------------------------------------------------------------------------- |
1634 | 1639 |
1635 } // namespace switches | 1640 } // namespace switches |
OLD | NEW |