| 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 | 270 |
| 271 // Disable field trial tests configured in fieldtrial_testing_config.json. | 271 // Disable field trial tests configured in fieldtrial_testing_config.json. |
| 272 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config"; | 272 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config"; |
| 273 | 273 |
| 274 // Disable HTTP/2 and SPDY/3.1 protocols. | 274 // Disable HTTP/2 and SPDY/3.1 protocols. |
| 275 const char kDisableHttp2[] = "disable-http2"; | 275 const char kDisableHttp2[] = "disable-http2"; |
| 276 | 276 |
| 277 // Disables the Material Design version of chrome://downloads. | 277 // Disables the Material Design version of chrome://downloads. |
| 278 const char kDisableMaterialDesignDownloads[] = "disable-md-downloads"; | 278 const char kDisableMaterialDesignDownloads[] = "disable-md-downloads"; |
| 279 | 279 |
| 280 // Disable the behavior that the second click on a launcher item (the click when | |
| 281 // the item is already active) minimizes the item. | |
| 282 const char kDisableMinimizeOnSecondLauncherItemClick[] = | |
| 283 "disable-minimize-on-second-launcher-item-click"; | |
| 284 | |
| 285 // Disables the new bookmark app system. | 280 // Disables the new bookmark app system. |
| 286 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; | 281 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; |
| 287 | 282 |
| 288 // Disables showing popular sites on the NTP. | 283 // Disables showing popular sites on the NTP. |
| 289 const char kDisableNTPPopularSites[] = "disable-ntp-popular-sites"; | 284 const char kDisableNTPPopularSites[] = "disable-ntp-popular-sites"; |
| 290 | 285 |
| 291 // Disable auto-reload of error pages if offline. | 286 // Disable auto-reload of error pages if offline. |
| 292 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 287 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
| 293 | 288 |
| 294 // Disable only auto-reloading error pages when the tab is visible. | 289 // Disable only auto-reloading error pages when the tab is visible. |
| (...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 | 1372 |
| 1378 // ----------------------------------------------------------------------------- | 1373 // ----------------------------------------------------------------------------- |
| 1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1374 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1380 // | 1375 // |
| 1381 // You were going to just dump your switches here, weren't you? Instead, please | 1376 // You were going to just dump your switches here, weren't you? Instead, please |
| 1382 // put them in alphabetical order above, or in order inside the appropriate | 1377 // put them in alphabetical order above, or in order inside the appropriate |
| 1383 // ifdef at the bottom. The order should match the header. | 1378 // ifdef at the bottom. The order should match the header. |
| 1384 // ----------------------------------------------------------------------------- | 1379 // ----------------------------------------------------------------------------- |
| 1385 | 1380 |
| 1386 } // namespace switches | 1381 } // namespace switches |
| OLD | NEW |