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 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1546 | 1546 |
1547 #if defined(OS_WIN) | 1547 #if defined(OS_WIN) |
1548 // For the DelegateExecute verb handler to launch Chrome in metro mode on | 1548 // For the DelegateExecute verb handler to launch Chrome in metro mode on |
1549 // Windows 8 and higher. Used when relaunching metro Chrome. | 1549 // Windows 8 and higher. Used when relaunching metro Chrome. |
1550 const char kForceImmersive[] = "force-immersive"; | 1550 const char kForceImmersive[] = "force-immersive"; |
1551 | 1551 |
1552 // For the DelegateExecute verb handler to launch Chrome in desktop mode on | 1552 // For the DelegateExecute verb handler to launch Chrome in desktop mode on |
1553 // Windows 8 and higher. Used when relaunching metro Chrome. | 1553 // Windows 8 and higher. Used when relaunching metro Chrome. |
1554 const char kForceDesktop[] = "force-desktop"; | 1554 const char kForceDesktop[] = "force-desktop"; |
1555 | 1555 |
1556 // Allows for disabling the overlapped I/O for TCP reads. | |
1557 // Possible values are "on" or "off". | |
1558 // The default is "on" which matches the existing behavior. | |
1559 // "off" switches to use non-blocking reads and WSAEventSelect. | |
1560 const char kOverlappedRead[] = "overlapped-reads"; | |
1561 | |
1562 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. | 1556 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. |
1563 const char kRelaunchShortcut[] = "relaunch-shortcut"; | 1557 const char kRelaunchShortcut[] = "relaunch-shortcut"; |
1564 | 1558 |
1565 // Waits for the given handle to be signaled before relaunching metro Chrome on | 1559 // Waits for the given handle to be signaled before relaunching metro Chrome on |
1566 // Windows 8 and higher. | 1560 // Windows 8 and higher. |
1567 const char kWaitForMutex[] = "wait-for-mutex"; | 1561 const char kWaitForMutex[] = "wait-for-mutex"; |
1568 | 1562 |
1569 // Indicates that chrome was launched to service a search request in Windows 8. | 1563 // Indicates that chrome was launched to service a search request in Windows 8. |
1570 const char kWindows8Search[] = "windows8-search"; | 1564 const char kWindows8Search[] = "windows8-search"; |
1571 | 1565 |
(...skipping 29 matching lines...) Expand all Loading... |
1601 | 1595 |
1602 // ----------------------------------------------------------------------------- | 1596 // ----------------------------------------------------------------------------- |
1603 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1597 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1604 // | 1598 // |
1605 // You were going to just dump your switches here, weren't you? Instead, please | 1599 // You were going to just dump your switches here, weren't you? Instead, please |
1606 // put them in alphabetical order above, or in order inside the appropriate | 1600 // put them in alphabetical order above, or in order inside the appropriate |
1607 // ifdef at the bottom. The order should match the header. | 1601 // ifdef at the bottom. The order should match the header. |
1608 // ----------------------------------------------------------------------------- | 1602 // ----------------------------------------------------------------------------- |
1609 | 1603 |
1610 } // namespace switches | 1604 } // namespace switches |
OLD | NEW |