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 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1541 const char kForceDesktop[] = "force-desktop"; | 1541 const char kForceDesktop[] = "force-desktop"; |
1542 | 1542 |
1543 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. | 1543 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. |
1544 const char kRelaunchShortcut[] = "relaunch-shortcut"; | 1544 const char kRelaunchShortcut[] = "relaunch-shortcut"; |
1545 | 1545 |
1546 // Waits for the given handle to be signaled before relaunching metro Chrome on | 1546 // Waits for the given handle to be signaled before relaunching metro Chrome on |
1547 // Windows 8 and higher. | 1547 // Windows 8 and higher. |
1548 const char kWaitForMutex[] = "wait-for-mutex"; | 1548 const char kWaitForMutex[] = "wait-for-mutex"; |
1549 #endif | 1549 #endif |
1550 | 1550 |
1551 #if defined(USE_AURA) | |
1552 // Opens an Ash window on startup. | |
1553 extern const char kOpenAsh[] = "open-ash"; | |
1554 #endif | |
1555 | |
1556 #if defined(USE_ASH) | |
1557 // Enables the wrench menu items to open/close the Ash desktop. | |
1558 const char kEnableAsh[] = "enable-ash"; | |
1559 #endif | |
1560 | |
1561 #ifndef NDEBUG | 1551 #ifndef NDEBUG |
1562 // Enables overriding the path of file manager extension. | 1552 // Enables overriding the path of file manager extension. |
1563 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; | 1553 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; |
1564 | 1554 |
1565 // Dumps dependency information about our profile services into a dot file in | 1555 // Dumps dependency information about our profile services into a dot file in |
1566 // the profile directory. | 1556 // the profile directory. |
1567 const char kDumpProfileDependencyGraph[] = "dump-profile-graph"; | 1557 const char kDumpProfileDependencyGraph[] = "dump-profile-graph"; |
1568 #endif // NDEBUG | 1558 #endif // NDEBUG |
1569 | 1559 |
1570 // Controls print preview in the browser process. | 1560 // Controls print preview in the browser process. |
(...skipping 23 matching lines...) Expand all Loading... |
1594 return true; | 1584 return true; |
1595 #elif defined(OS_WIN) | 1585 #elif defined(OS_WIN) |
1596 return true; | 1586 return true; |
1597 #else | 1587 #else |
1598 return CommandLine::ForCurrentProcess()->HasSwitch( | 1588 return CommandLine::ForCurrentProcess()->HasSwitch( |
1599 switches::kEnableFramelessConstrainedDialogs); | 1589 switches::kEnableFramelessConstrainedDialogs); |
1600 #endif | 1590 #endif |
1601 } | 1591 } |
1602 | 1592 |
1603 } // namespace chrome | 1593 } // namespace chrome |
OLD | NEW |