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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 "enable-extension-activity-log-testing"; | 541 "enable-extension-activity-log-testing"; |
542 | 542 |
543 // Enables or disables showing extensions in the action box. | 543 // Enables or disables showing extensions in the action box. |
544 const char kExtensionsInActionBox[] = "extensions-in-action-box"; | 544 const char kExtensionsInActionBox[] = "extensions-in-action-box"; |
545 | 545 |
546 // Enables or disables running extensions on chrome:// URLs. | 546 // Enables or disables running extensions on chrome:// URLs. |
547 // Extensions still need to explicitly request access to chrome:// URLs in the | 547 // Extensions still need to explicitly request access to chrome:// URLs in the |
548 // manifest. | 548 // manifest. |
549 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; | 549 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; |
550 | 550 |
| 551 // Enable the fast unload controller, which speeds up tab/window close by |
| 552 // running a tab's onunload js handler independently of the GUI - |
| 553 // crbug.com/142458 . |
| 554 const char kEnableFastUnload[] = "enable-fast-unload"; |
| 555 |
551 // By default, cookies are not allowed on file://. They are needed for testing, | 556 // By default, cookies are not allowed on file://. They are needed for testing, |
552 // for example page cycler and layout tests. See bug 1157243. | 557 // for example page cycler and layout tests. See bug 1157243. |
553 const char kEnableFileCookies[] = "enable-file-cookies"; | 558 const char kEnableFileCookies[] = "enable-file-cookies"; |
554 | 559 |
555 // Enables Google Now integration. | 560 // Enables Google Now integration. |
556 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; | 561 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; |
557 | 562 |
558 // Enable Instant extended API. On mobile, this merely enables query extraction, | 563 // Enable Instant extended API. On mobile, this merely enables query extraction, |
559 // not the rest of the instant-extended functionality. | 564 // not the rest of the instant-extended functionality. |
560 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; | 565 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; |
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1588 | 1593 |
1589 // ----------------------------------------------------------------------------- | 1594 // ----------------------------------------------------------------------------- |
1590 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1595 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1591 // | 1596 // |
1592 // You were going to just dump your switches here, weren't you? Instead, please | 1597 // You were going to just dump your switches here, weren't you? Instead, please |
1593 // put them in alphabetical order above, or in order inside the appropriate | 1598 // put them in alphabetical order above, or in order inside the appropriate |
1594 // ifdef at the bottom. The order should match the header. | 1599 // ifdef at the bottom. The order should match the header. |
1595 // ----------------------------------------------------------------------------- | 1600 // ----------------------------------------------------------------------------- |
1596 | 1601 |
1597 } // namespace switches | 1602 } // namespace switches |
OLD | NEW |