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