| 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 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1547 #endif | 1547 #endif |
| 1548 | 1548 |
| 1549 #if defined(USE_AURA) | 1549 #if defined(USE_AURA) |
| 1550 // Use NativeTabContentsViewAura instead of the default implementation. | 1550 // Use NativeTabContentsViewAura instead of the default implementation. |
| 1551 const char kDisableTCVA[] = "disable-tcva"; | 1551 const char kDisableTCVA[] = "disable-tcva"; |
| 1552 | 1552 |
| 1553 // Opens an Ash window on startup. | 1553 // Opens an Ash window on startup. |
| 1554 extern const char kOpenAsh[] = "open-ash"; | 1554 extern const char kOpenAsh[] = "open-ash"; |
| 1555 #endif | 1555 #endif |
| 1556 | 1556 |
| 1557 #if defined(USE_ASH) |
| 1558 // Enables the wrench menu items to open/close the Ash desktop. |
| 1559 const char kEnableAsh[] = "enable-ash"; |
| 1560 #endif |
| 1561 |
| 1557 #ifndef NDEBUG | 1562 #ifndef NDEBUG |
| 1558 // Enables overriding the path of file manager extension. | 1563 // Enables overriding the path of file manager extension. |
| 1559 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; | 1564 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; |
| 1560 | 1565 |
| 1561 // Dumps dependency information about our profile services into a dot file in | 1566 // Dumps dependency information about our profile services into a dot file in |
| 1562 // the profile directory. | 1567 // the profile directory. |
| 1563 const char kDumpProfileDependencyGraph[] = "dump-profile-graph"; | 1568 const char kDumpProfileDependencyGraph[] = "dump-profile-graph"; |
| 1564 #endif // NDEBUG | 1569 #endif // NDEBUG |
| 1565 | 1570 |
| 1566 // Controls print preview in the browser process. | 1571 // Controls print preview in the browser process. |
| 1567 #if defined(GOOGLE_CHROME_BUILD) | 1572 #if defined(GOOGLE_CHROME_BUILD) |
| 1568 // Disables print preview (For testing, and for users who don't like us. :[ ) | 1573 // Disables print preview (For testing, and for users who don't like us. :[ ) |
| 1569 const char kDisablePrintPreview[] = "disable-print-preview"; | 1574 const char kDisablePrintPreview[] = "disable-print-preview"; |
| 1570 #else | 1575 #else |
| 1571 // Enables print preview (Force enable on Chromium, which normally does not | 1576 // Enables print preview (Force enable on Chromium, which normally does not |
| 1572 // have the PDF viewer required for print preview.) | 1577 // have the PDF viewer required for print preview.) |
| 1573 const char kEnablePrintPreview[] = "enable-print-preview"; | 1578 const char kEnablePrintPreview[] = "enable-print-preview"; |
| 1574 #endif | 1579 #endif |
| 1575 | 1580 |
| 1576 // ----------------------------------------------------------------------------- | 1581 // ----------------------------------------------------------------------------- |
| 1577 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1582 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1578 // | 1583 // |
| 1579 // You were going to just dump your switches here, weren't you? Instead, please | 1584 // You were going to just dump your switches here, weren't you? Instead, please |
| 1580 // put them in alphabetical order above, or in order inside the appropriate | 1585 // put them in alphabetical order above, or in order inside the appropriate |
| 1581 // ifdef at the bottom. The order should match the header. | 1586 // ifdef at the bottom. The order should match the header. |
| 1582 // ----------------------------------------------------------------------------- | 1587 // ----------------------------------------------------------------------------- |
| 1583 | 1588 |
| 1584 } // namespace switches | 1589 } // namespace switches |
| OLD | NEW |