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