| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 "disable-extensions-file-access-check"; | 262 "disable-extensions-file-access-check"; |
| 263 | 263 |
| 264 // Disable the net::URLRequestThrottlerManager functionality for | 264 // Disable the net::URLRequestThrottlerManager functionality for |
| 265 // requests originating from extensions. | 265 // requests originating from extensions. |
| 266 const char kDisableExtensionsHttpThrottling[] = | 266 const char kDisableExtensionsHttpThrottling[] = |
| 267 "disable-extensions-http-throttling"; | 267 "disable-extensions-http-throttling"; |
| 268 | 268 |
| 269 // Disable field trial tests configured in fieldtrial_testing_config.json. | 269 // Disable field trial tests configured in fieldtrial_testing_config.json. |
| 270 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config"; | 270 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config"; |
| 271 | 271 |
| 272 // Prevents hosted apps from being opened in windows on Mac. |
| 273 const char kDisableHostedAppsInWindows[] = "disable-hosted-apps-in-windows"; |
| 274 |
| 272 // Disable the behavior that the second click on a launcher item (the click when | 275 // Disable the behavior that the second click on a launcher item (the click when |
| 273 // the item is already active) minimizes the item. | 276 // the item is already active) minimizes the item. |
| 274 const char kDisableMinimizeOnSecondLauncherItemClick[] = | 277 const char kDisableMinimizeOnSecondLauncherItemClick[] = |
| 275 "disable-minimize-on-second-launcher-item-click"; | 278 "disable-minimize-on-second-launcher-item-click"; |
| 276 | 279 |
| 277 // Disables the new bookmark app system. | 280 // Disables the new bookmark app system. |
| 278 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; | 281 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; |
| 279 | 282 |
| 280 // Disables showing popular sites on the NTP. | 283 // Disables showing popular sites on the NTP. |
| 281 const char kDisableNTPPopularSites[] = "disable-ntp-popular-sites"; | 284 const char kDisableNTPPopularSites[] = "disable-ntp-popular-sites"; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 "enable-extension-activity-logging"; | 432 "enable-extension-activity-logging"; |
| 430 | 433 |
| 431 const char kEnableExtensionActivityLogTesting[] = | 434 const char kEnableExtensionActivityLogTesting[] = |
| 432 "enable-extension-activity-log-testing"; | 435 "enable-extension-activity-log-testing"; |
| 433 | 436 |
| 434 // Enable the fast unload controller, which speeds up tab/window close by | 437 // Enable the fast unload controller, which speeds up tab/window close by |
| 435 // running a tab's onunload js handler independently of the GUI - | 438 // running a tab's onunload js handler independently of the GUI - |
| 436 // crbug.com/142458 . | 439 // crbug.com/142458 . |
| 437 const char kEnableFastUnload[] = "enable-fast-unload"; | 440 const char kEnableFastUnload[] = "enable-fast-unload"; |
| 438 | 441 |
| 442 // Allows hosted apps to be opened in windows on Mac. |
| 443 const char kEnableHostedAppsInWindows[] = "enable-hosted-apps-in-windows"; |
| 444 |
| 439 // Enables support for the QUIC protocol for insecure schemes (http://). | 445 // Enables support for the QUIC protocol for insecure schemes (http://). |
| 440 // This is a temporary testing flag. | 446 // This is a temporary testing flag. |
| 441 const char kEnableInsecureQuic[] = "enable-insecure-quic"; | 447 const char kEnableInsecureQuic[] = "enable-insecure-quic"; |
| 442 | 448 |
| 443 // Enables an experimental Material Design version of chrome://downloads. | 449 // Enables an experimental Material Design version of chrome://downloads. |
| 444 const char kEnableMaterialDesignDownloads[] = "enable-md-downloads"; | 450 const char kEnableMaterialDesignDownloads[] = "enable-md-downloads"; |
| 445 | 451 |
| 446 // Enables the material design Settings feature. | 452 // Enables the material design Settings feature. |
| 447 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; | 453 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; |
| 448 | 454 |
| (...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1418 | 1424 |
| 1419 // ----------------------------------------------------------------------------- | 1425 // ----------------------------------------------------------------------------- |
| 1420 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1426 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1421 // | 1427 // |
| 1422 // You were going to just dump your switches here, weren't you? Instead, please | 1428 // You were going to just dump your switches here, weren't you? Instead, please |
| 1423 // put them in alphabetical order above, or in order inside the appropriate | 1429 // put them in alphabetical order above, or in order inside the appropriate |
| 1424 // ifdef at the bottom. The order should match the header. | 1430 // ifdef at the bottom. The order should match the header. |
| 1425 // ----------------------------------------------------------------------------- | 1431 // ----------------------------------------------------------------------------- |
| 1426 | 1432 |
| 1427 } // namespace switches | 1433 } // namespace switches |
| OLD | NEW |