| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 const char kDisableHttp2[] = "disable-http2"; | 275 const char kDisableHttp2[] = "disable-http2"; |
| 276 | 276 |
| 277 // Disable the behavior that the second click on a launcher item (the click when | 277 // Disable the behavior that the second click on a launcher item (the click when |
| 278 // the item is already active) minimizes the item. | 278 // the item is already active) minimizes the item. |
| 279 const char kDisableMinimizeOnSecondLauncherItemClick[] = | 279 const char kDisableMinimizeOnSecondLauncherItemClick[] = |
| 280 "disable-minimize-on-second-launcher-item-click"; | 280 "disable-minimize-on-second-launcher-item-click"; |
| 281 | 281 |
| 282 // Disables the new bookmark app system. | 282 // Disables the new bookmark app system. |
| 283 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; | 283 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; |
| 284 | 284 |
| 285 // Disables showing popular sites on the NTP. | |
| 286 const char kDisableNTPPopularSites[] = "disable-ntp-popular-sites"; | |
| 287 | |
| 288 // Disable auto-reload of error pages if offline. | 285 // Disable auto-reload of error pages if offline. |
| 289 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 286 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
| 290 | 287 |
| 291 // Disable only auto-reloading error pages when the tab is visible. | 288 // Disable only auto-reloading error pages when the tab is visible. |
| 292 const char kDisableOfflineAutoReloadVisibleOnly[] = | 289 const char kDisableOfflineAutoReloadVisibleOnly[] = |
| 293 "disable-offline-auto-reload-visible-only"; | 290 "disable-offline-auto-reload-visible-only"; |
| 294 | 291 |
| 295 // Disable out-of-process V8 proxy resolver. | 292 // Disable out-of-process V8 proxy resolver. |
| 296 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac"; | 293 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac"; |
| 297 | 294 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 // for 10s, until the buffer is full, or until the next navigation. | 439 // for 10s, until the buffer is full, or until the next navigation. |
| 443 // It only works if a URL was provided by --trace-upload-url. | 440 // It only works if a URL was provided by --trace-upload-url. |
| 444 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; | 441 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; |
| 445 | 442 |
| 446 // Enables the network-related benchmarking extensions. | 443 // Enables the network-related benchmarking extensions. |
| 447 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; | 444 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; |
| 448 | 445 |
| 449 // Enables the new bookmark app system. | 446 // Enables the new bookmark app system. |
| 450 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; | 447 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; |
| 451 | 448 |
| 452 // Enables showing popular sites on the NTP. | |
| 453 const char kEnableNTPPopularSites[] = "enable-ntp-popular-sites"; | |
| 454 | |
| 455 // Enables using the default search engine country to show country specific | |
| 456 // popular sites on the NTP. | |
| 457 const char kEnableNTPSearchEngineCountryDetection[] = | |
| 458 "enable-ntp-search-engine-country-detection"; | |
| 459 | |
| 460 // Enable auto-reload of error pages if offline. | 449 // Enable auto-reload of error pages if offline. |
| 461 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 450 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
| 462 | 451 |
| 463 // Only auto-reload error pages when the tab is visible. | 452 // Only auto-reload error pages when the tab is visible. |
| 464 const char kEnableOfflineAutoReloadVisibleOnly[] = | 453 const char kEnableOfflineAutoReloadVisibleOnly[] = |
| 465 "enable-offline-auto-reload-visible-only"; | 454 "enable-offline-auto-reload-visible-only"; |
| 466 | 455 |
| 467 // Enables or disables panels (always on-top docked pop-up windows). | 456 // Enables or disables panels (always on-top docked pop-up windows). |
| 468 const char kEnablePanels[] = "enable-panels"; | 457 const char kEnablePanels[] = "enable-panels"; |
| 469 const char kDisablePanels[] = "disable-panels"; | 458 const char kDisablePanels[] = "disable-panels"; |
| (...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1355 | 1344 |
| 1356 // ----------------------------------------------------------------------------- | 1345 // ----------------------------------------------------------------------------- |
| 1357 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1346 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1358 // | 1347 // |
| 1359 // You were going to just dump your switches here, weren't you? Instead, please | 1348 // You were going to just dump your switches here, weren't you? Instead, please |
| 1360 // put them in alphabetical order above, or in order inside the appropriate | 1349 // put them in alphabetical order above, or in order inside the appropriate |
| 1361 // ifdef at the bottom. The order should match the header. | 1350 // ifdef at the bottom. The order should match the header. |
| 1362 // ----------------------------------------------------------------------------- | 1351 // ----------------------------------------------------------------------------- |
| 1363 | 1352 |
| 1364 } // namespace switches | 1353 } // namespace switches |
| OLD | NEW |