| 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 "enable-extension-activity-log-testing"; | 571 "enable-extension-activity-log-testing"; |
| 572 | 572 |
| 573 // Enables or disables showing extensions in the action box. | 573 // Enables or disables showing extensions in the action box. |
| 574 const char kExtensionsInActionBox[] = "extensions-in-action-box"; | 574 const char kExtensionsInActionBox[] = "extensions-in-action-box"; |
| 575 | 575 |
| 576 // Enable the fast unload controller, which speeds up tab/window close by | 576 // Enable the fast unload controller, which speeds up tab/window close by |
| 577 // running a tab's onunload js handler independently of the GUI - | 577 // running a tab's onunload js handler independently of the GUI - |
| 578 // crbug.com/142458 . | 578 // crbug.com/142458 . |
| 579 const char kEnableFastUnload[] = "enable-fast-unload"; | 579 const char kEnableFastUnload[] = "enable-fast-unload"; |
| 580 | 580 |
| 581 // By default, cookies are not allowed on file://. They are needed for testing, | |
| 582 // for example page cycler and layout tests. See bug 1157243. | |
| 583 const char kEnableFileCookies[] = "enable-file-cookies"; | |
| 584 | |
| 585 // Enables Google Now integration. | 581 // Enables Google Now integration. |
| 586 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; | 582 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; |
| 587 | 583 |
| 588 // Enable HTTP/2 draft 04. This is a temporary testing flag. | 584 // Enable HTTP/2 draft 04. This is a temporary testing flag. |
| 589 const char kEnableHttp2Draft04[] = "enable-http2-draft-04"; | 585 const char kEnableHttp2Draft04[] = "enable-http2-draft-04"; |
| 590 | 586 |
| 591 // Enable Instant extended API. On mobile, this merely enables query extraction, | 587 // Enable Instant extended API. On mobile, this merely enables query extraction, |
| 592 // not the rest of the instant-extended functionality. | 588 // not the rest of the instant-extended functionality. |
| 593 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; | 589 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; |
| 594 | 590 |
| (...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1604 | 1600 |
| 1605 // ----------------------------------------------------------------------------- | 1601 // ----------------------------------------------------------------------------- |
| 1606 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1602 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1607 // | 1603 // |
| 1608 // You were going to just dump your switches here, weren't you? Instead, please | 1604 // You were going to just dump your switches here, weren't you? Instead, please |
| 1609 // put them in alphabetical order above, or in order inside the appropriate | 1605 // put them in alphabetical order above, or in order inside the appropriate |
| 1610 // ifdef at the bottom. The order should match the header. | 1606 // ifdef at the bottom. The order should match the header. |
| 1611 // ----------------------------------------------------------------------------- | 1607 // ----------------------------------------------------------------------------- |
| 1612 | 1608 |
| 1613 } // namespace switches | 1609 } // namespace switches |
| OLD | NEW |