| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_features.h" | 5 #include "chrome/common/chrome_features.h" |
| 6 | 6 |
| 7 namespace features { | 7 namespace features { |
| 8 | 8 |
| 9 // All features in alphabetical order. | 9 // All features in alphabetical order. |
| 10 | 10 |
| 11 #if defined(OS_WIN) || defined(OS_MACOSX) | 11 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 12 // Enables automatic tab discarding, when the system is in low memory state. | 12 // Enables automatic tab discarding, when the system is in low memory state. |
| 13 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding", | 13 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding", |
| 14 base::FEATURE_DISABLED_BY_DEFAULT}; | 14 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 15 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 15 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
| 16 | 16 |
| 17 // Fixes for browser hang bugs are deployed in a field trial in order to measure |
| 18 // their impact. See crbug.com/478209. |
| 19 const base::Feature kBrowserHangFixesExperiment{ |
| 20 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 21 |
| 17 // Enables Expect CT reporting, which sends reports for opted-in sites | 22 // Enables Expect CT reporting, which sends reports for opted-in sites |
| 18 // that don't serve sufficient Certificate Transparency information. | 23 // that don't serve sufficient Certificate Transparency information. |
| 19 const base::Feature kExpectCTReporting{"ExpectCTReporting", | 24 const base::Feature kExpectCTReporting{"ExpectCTReporting", |
| 20 base::FEATURE_DISABLED_BY_DEFAULT}; | 25 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 21 | 26 |
| 22 // An experimental fullscreen prototype that allows pages to map browser and | 27 // An experimental fullscreen prototype that allows pages to map browser and |
| 23 // system-reserved keyboard shortcuts. | 28 // system-reserved keyboard shortcuts. |
| 24 const base::Feature kExperimentalKeyboardLockUI{ | 29 const base::Feature kExperimentalKeyboardLockUI{ |
| 25 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT}; | 30 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 26 | 31 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 base::FEATURE_DISABLED_BY_DEFAULT}; | 74 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 70 #endif | 75 #endif |
| 71 | 76 |
| 72 #if defined(OS_CHROMEOS) | 77 #if defined(OS_CHROMEOS) |
| 73 // Enables or disables the opt-in IME menu in the language settings page. | 78 // Enables or disables the opt-in IME menu in the language settings page. |
| 74 const base::Feature kOptInImeMenu{"OptInImeMenu", | 79 const base::Feature kOptInImeMenu{"OptInImeMenu", |
| 75 base::FEATURE_DISABLED_BY_DEFAULT}; | 80 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 76 #endif // defined(OS_CHROMEOS) | 81 #endif // defined(OS_CHROMEOS) |
| 77 | 82 |
| 78 } // namespace features | 83 } // namespace features |
| OLD | NEW |