| 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file | 335 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file |
| 336 // bugs if something isn't working properly in the presence of IPv6. This flag | 336 // bugs if something isn't working properly in the presence of IPv6. This flag |
| 337 // can be overidden by the "enable-ipv6" flag. | 337 // can be overidden by the "enable-ipv6" flag. |
| 338 const char kDisableIPv6[] = "disable-ipv6"; | 338 const char kDisableIPv6[] = "disable-ipv6"; |
| 339 | 339 |
| 340 // Disables IP Pooling within the networks stack (SPDY only). When a connection | 340 // Disables IP Pooling within the networks stack (SPDY only). When a connection |
| 341 // is needed for a domain which shares an IP with an existing connection, | 341 // is needed for a domain which shares an IP with an existing connection, |
| 342 // attempt to use the existing connection. | 342 // attempt to use the existing connection. |
| 343 const char kDisableIPPooling[] = "disable-ip-pooling"; | 343 const char kDisableIPPooling[] = "disable-ip-pooling"; |
| 344 | 344 |
| 345 // Disables Mouse Lock being permitted when the browser is not currently | |
| 346 // in tab fullscreen. | |
| 347 const char kDisableNonFullscreenMouseLock[] = | |
| 348 "disable-non-fullscreen-mouse-lock"; | |
| 349 | |
| 350 // Disables the menu on the NTP for accessing sessions from other devices. | 345 // Disables the menu on the NTP for accessing sessions from other devices. |
| 351 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; | 346 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; |
| 352 | 347 |
| 353 // Disable pop-up blocking. | 348 // Disable pop-up blocking. |
| 354 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 349 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
| 355 | 350 |
| 356 // Disable speculative TCP/IP preconnection. | 351 // Disable speculative TCP/IP preconnection. |
| 357 const char kDisablePreconnect[] = "disable-preconnect"; | 352 const char kDisablePreconnect[] = "disable-preconnect"; |
| 358 | 353 |
| 359 // Normally when the user attempts to navigate to a page that was the result of | 354 // Normally when the user attempts to navigate to a page that was the result of |
| (...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1577 | 1572 |
| 1578 // ----------------------------------------------------------------------------- | 1573 // ----------------------------------------------------------------------------- |
| 1579 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1574 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1580 // | 1575 // |
| 1581 // You were going to just dump your switches here, weren't you? Instead, please | 1576 // You were going to just dump your switches here, weren't you? Instead, please |
| 1582 // put them in alphabetical order above, or in order inside the appropriate | 1577 // put them in alphabetical order above, or in order inside the appropriate |
| 1583 // ifdef at the bottom. The order should match the header. | 1578 // ifdef at the bottom. The order should match the header. |
| 1584 // ----------------------------------------------------------------------------- | 1579 // ----------------------------------------------------------------------------- |
| 1585 | 1580 |
| 1586 } // namespace switches | 1581 } // namespace switches |
| OLD | NEW |