| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file | 252 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file |
| 253 // bugs if something isn't working properly in the presence of IPv6. This flag | 253 // bugs if something isn't working properly in the presence of IPv6. This flag |
| 254 // can be overidden by the "enable-ipv6" flag. | 254 // can be overidden by the "enable-ipv6" flag. |
| 255 const char kDisableIPv6[] = "disable-ipv6"; | 255 const char kDisableIPv6[] = "disable-ipv6"; |
| 256 | 256 |
| 257 // Disable the behavior that the second click on a launcher item (the click when | 257 // Disable the behavior that the second click on a launcher item (the click when |
| 258 // the item is already active) minimizes the item. | 258 // the item is already active) minimizes the item. |
| 259 const char kDisableMinimizeOnSecondLauncherItemClick[] = | 259 const char kDisableMinimizeOnSecondLauncherItemClick[] = |
| 260 "disable-minimize-on-second-launcher-item-click"; | 260 "disable-minimize-on-second-launcher-item-click"; |
| 261 | 261 |
| 262 // Disables the new bookmark app system. | |
| 263 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; | |
| 264 | |
| 265 // Disables the menu on the NTP for accessing sessions from other devices. | 262 // Disables the menu on the NTP for accessing sessions from other devices. |
| 266 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; | 263 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; |
| 267 | 264 |
| 268 // Disable auto-reload of error pages if offline. | 265 // Disable auto-reload of error pages if offline. |
| 269 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 266 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
| 270 | 267 |
| 271 // Disable only auto-reloading error pages when the tab is visible. | 268 // Disable only auto-reloading error pages when the tab is visible. |
| 272 const char kDisableOfflineAutoReloadVisibleOnly[] = | 269 const char kDisableOfflineAutoReloadVisibleOnly[] = |
| 273 "disable-offline-auto-reload-visible-only"; | 270 "disable-offline-auto-reload-visible-only"; |
| 274 | 271 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 // Enables experimentation with launching ephemeral apps via hyperlinks. | 447 // Enables experimentation with launching ephemeral apps via hyperlinks. |
| 451 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; | 448 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; |
| 452 | 449 |
| 453 // Runs the Native Client inside the renderer process and enables GPU plugin | 450 // Runs the Native Client inside the renderer process and enables GPU plugin |
| 454 // (internally adds lEnableGpuPlugin to the command line). | 451 // (internally adds lEnableGpuPlugin to the command line). |
| 455 const char kEnableNaCl[] = "enable-nacl"; | 452 const char kEnableNaCl[] = "enable-nacl"; |
| 456 | 453 |
| 457 // Enables the network-related benchmarking extensions. | 454 // Enables the network-related benchmarking extensions. |
| 458 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; | 455 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; |
| 459 | 456 |
| 457 // Enables the new bookmark app system. |
| 458 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; |
| 459 |
| 460 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. | 460 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. |
| 461 // HTTP is still used for all requests. | 461 // HTTP is still used for all requests. |
| 462 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 462 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
| 463 | 463 |
| 464 // Enable auto-reload of error pages if offline. | 464 // Enable auto-reload of error pages if offline. |
| 465 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 465 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
| 466 | 466 |
| 467 // Only auto-reload error pages when the tab is visible. | 467 // Only auto-reload error pages when the tab is visible. |
| 468 const char kEnableOfflineAutoReloadVisibleOnly[] = | 468 const char kEnableOfflineAutoReloadVisibleOnly[] = |
| 469 "enable-offline-auto-reload-visible-only"; | 469 "enable-offline-auto-reload-visible-only"; |
| (...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1399 | 1399 |
| 1400 // ----------------------------------------------------------------------------- | 1400 // ----------------------------------------------------------------------------- |
| 1401 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1401 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1402 // | 1402 // |
| 1403 // You were going to just dump your switches here, weren't you? Instead, please | 1403 // You were going to just dump your switches here, weren't you? Instead, please |
| 1404 // put them in alphabetical order above, or in order inside the appropriate | 1404 // put them in alphabetical order above, or in order inside the appropriate |
| 1405 // ifdef at the bottom. The order should match the header. | 1405 // ifdef at the bottom. The order should match the header. |
| 1406 // ----------------------------------------------------------------------------- | 1406 // ----------------------------------------------------------------------------- |
| 1407 | 1407 |
| 1408 } // namespace switches | 1408 } // namespace switches |
| OLD | NEW |