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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
454 // for 10s, until the buffer is full, or until the next navigation. | 454 // for 10s, until the buffer is full, or until the next navigation. |
455 // It only works if a URL was provided by --trace-upload-url. | 455 // It only works if a URL was provided by --trace-upload-url. |
456 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; | 456 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; |
457 | 457 |
458 // Enables the network-related benchmarking extensions. | 458 // Enables the network-related benchmarking extensions. |
459 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; | 459 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; |
460 | 460 |
461 // Enables the new bookmark app system. | 461 // Enables the new bookmark app system. |
462 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; | 462 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; |
463 | 463 |
464 // Enable or disable custom layouts for notifications shown with the | |
465 // Notifications API. | |
466 const char kEnableNotificationsCustomLayouts[] = | |
467 "enable-notifications-custom-layouts"; | |
468 const char kDisableNotificationsCustomLayouts[] = | |
Peter Beverloo
2015/10/12 14:08:30
nit: alphabetize please, and have a comment for ea
Michael van Ouwerkerk
2015/10/12 17:10:59
Done.
| |
469 "disable-notifications-custom-layouts"; | |
470 | |
464 // Enables showing popular sites on the NTP. | 471 // Enables showing popular sites on the NTP. |
465 const char kEnableNTPPopularSites[] = "enable-ntp-popular-sites"; | 472 const char kEnableNTPPopularSites[] = "enable-ntp-popular-sites"; |
466 | 473 |
467 // Enables using the default search engine country to show country specific | 474 // Enables using the default search engine country to show country specific |
468 // popular sites on the NTP. | 475 // popular sites on the NTP. |
469 const char kEnableNTPSearchEngineCountryDetection[] = | 476 const char kEnableNTPSearchEngineCountryDetection[] = |
470 "enable-ntp-search-engine-country-detection"; | 477 "enable-ntp-search-engine-country-detection"; |
471 | 478 |
472 // Enable auto-reload of error pages if offline. | 479 // Enable auto-reload of error pages if offline. |
473 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 480 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1391 | 1398 |
1392 // ----------------------------------------------------------------------------- | 1399 // ----------------------------------------------------------------------------- |
1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1400 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1394 // | 1401 // |
1395 // You were going to just dump your switches here, weren't you? Instead, please | 1402 // You were going to just dump your switches here, weren't you? Instead, please |
1396 // put them in alphabetical order above, or in order inside the appropriate | 1403 // put them in alphabetical order above, or in order inside the appropriate |
1397 // ifdef at the bottom. The order should match the header. | 1404 // ifdef at the bottom. The order should match the header. |
1398 // ----------------------------------------------------------------------------- | 1405 // ----------------------------------------------------------------------------- |
1399 | 1406 |
1400 } // namespace switches | 1407 } // namespace switches |
OLD | NEW |