| 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 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 // deprecated systems. | 51 // deprecated systems. |
| 52 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ | 52 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ |
| 53 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; | 53 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 // Enables or disables the Material Design version of chrome://history. | 56 // Enables or disables the Material Design version of chrome://history. |
| 57 const base::Feature kMaterialDesignHistoryFeature { | 57 const base::Feature kMaterialDesignHistoryFeature { |
| 58 "MaterialDesignHistory", base::FEATURE_DISABLED_BY_DEFAULT | 58 "MaterialDesignHistory", base::FEATURE_DISABLED_BY_DEFAULT |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 // Enables or disables the Material Design version of chrome://settings. |
| 62 // Also affects chrome://help. |
| 63 const base::Feature kMaterialDesignSettingsFeature{ |
| 64 "MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 65 |
| 61 #if defined(OS_CHROMEOS) | 66 #if defined(OS_CHROMEOS) |
| 62 // Runtime flag that indicates whether this leak detector should be enabled in | 67 // Runtime flag that indicates whether this leak detector should be enabled in |
| 63 // the current instance of Chrome. | 68 // the current instance of Chrome. |
| 64 const base::Feature kRuntimeMemoryLeakDetector{ | 69 const base::Feature kRuntimeMemoryLeakDetector{ |
| 65 "RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT}; | 70 "RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 66 #endif // defined(OS_CHROMEOS) | 71 #endif // defined(OS_CHROMEOS) |
| 67 | 72 |
| 68 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", | 73 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", |
| 69 base::FEATURE_DISABLED_BY_DEFAULT}; | 74 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 70 | 75 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 81 base::FEATURE_DISABLED_BY_DEFAULT}; | 86 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 82 #endif | 87 #endif |
| 83 | 88 |
| 84 #if defined(OS_CHROMEOS) | 89 #if defined(OS_CHROMEOS) |
| 85 // Enables or disables the opt-in IME menu in the language settings page. | 90 // Enables or disables the opt-in IME menu in the language settings page. |
| 86 const base::Feature kOptInImeMenu{"OptInImeMenu", | 91 const base::Feature kOptInImeMenu{"OptInImeMenu", |
| 87 base::FEATURE_DISABLED_BY_DEFAULT}; | 92 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 88 #endif // defined(OS_CHROMEOS) | 93 #endif // defined(OS_CHROMEOS) |
| 89 | 94 |
| 90 } // namespace features | 95 } // namespace features |
| OLD | NEW |