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