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 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 const char kOverlappedRead[] = "overlapped-reads"; | 1565 const char kOverlappedRead[] = "overlapped-reads"; |
1566 | 1566 |
1567 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. | 1567 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. |
1568 const char kRelaunchShortcut[] = "relaunch-shortcut"; | 1568 const char kRelaunchShortcut[] = "relaunch-shortcut"; |
1569 | 1569 |
1570 // Waits for the given handle to be signaled before relaunching metro Chrome on | 1570 // Waits for the given handle to be signaled before relaunching metro Chrome on |
1571 // Windows 8 and higher. | 1571 // Windows 8 and higher. |
1572 const char kWaitForMutex[] = "wait-for-mutex"; | 1572 const char kWaitForMutex[] = "wait-for-mutex"; |
1573 #endif | 1573 #endif |
1574 | 1574 |
| 1575 #if defined(OS_WIN) && defined(USE_AURA) |
| 1576 // Force browser tests to run in Ash/Metro on Windows 8. |
| 1577 const char kAshBrowserTests[] = "ash-browsertests"; |
| 1578 #endif |
| 1579 |
1575 #ifndef NDEBUG | 1580 #ifndef NDEBUG |
1576 // Enables overriding the path of file manager extension. | 1581 // Enables overriding the path of file manager extension. |
1577 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; | 1582 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; |
1578 | 1583 |
1579 // Enables overriding the path of image loader extension. | 1584 // Enables overriding the path of image loader extension. |
1580 const char kImageLoaderExtensionPath[] = "image-loader-ext-path"; | 1585 const char kImageLoaderExtensionPath[] = "image-loader-ext-path"; |
1581 #endif // NDEBUG | 1586 #endif // NDEBUG |
1582 | 1587 |
1583 // Controls print preview in the browser process. | 1588 // Controls print preview in the browser process. |
1584 #if defined(GOOGLE_CHROME_BUILD) | 1589 #if defined(GOOGLE_CHROME_BUILD) |
1585 // Disables print preview (For testing, and for users who don't like us. :[ ) | 1590 // Disables print preview (For testing, and for users who don't like us. :[ ) |
1586 const char kDisablePrintPreview[] = "disable-print-preview"; | 1591 const char kDisablePrintPreview[] = "disable-print-preview"; |
1587 #else | 1592 #else |
1588 // Enables print preview (Force enable on Chromium, which normally does not | 1593 // Enables print preview (Force enable on Chromium, which normally does not |
1589 // have the PDF viewer required for print preview.) | 1594 // have the PDF viewer required for print preview.) |
1590 const char kEnablePrintPreview[] = "enable-print-preview"; | 1595 const char kEnablePrintPreview[] = "enable-print-preview"; |
1591 #endif | 1596 #endif |
1592 | 1597 |
1593 // ----------------------------------------------------------------------------- | 1598 // ----------------------------------------------------------------------------- |
1594 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1599 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1595 // | 1600 // |
1596 // You were going to just dump your switches here, weren't you? Instead, please | 1601 // You were going to just dump your switches here, weren't you? Instead, please |
1597 // put them in alphabetical order above, or in order inside the appropriate | 1602 // put them in alphabetical order above, or in order inside the appropriate |
1598 // ifdef at the bottom. The order should match the header. | 1603 // ifdef at the bottom. The order should match the header. |
1599 // ----------------------------------------------------------------------------- | 1604 // ----------------------------------------------------------------------------- |
1600 | 1605 |
1601 } // namespace switches | 1606 } // namespace switches |
OLD | NEW |