| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 base::FEATURE_DISABLED_BY_DEFAULT}; | 90 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 91 #endif | 91 #endif |
| 92 | 92 |
| 93 #if defined(OS_CHROMEOS) | 93 #if defined(OS_CHROMEOS) |
| 94 // Enables or disables the opt-in IME menu in the language settings page. | 94 // Enables or disables the opt-in IME menu in the language settings page. |
| 95 const base::Feature kOptInImeMenu{"OptInImeMenu", | 95 const base::Feature kOptInImeMenu{"OptInImeMenu", |
| 96 base::FEATURE_DISABLED_BY_DEFAULT}; | 96 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 97 #endif // defined(OS_CHROMEOS) | 97 #endif // defined(OS_CHROMEOS) |
| 98 | 98 |
| 99 } // namespace features | 99 } // namespace features |
| 100 |
| 101 bool UsesMdSettings() { |
| 102 return base::FeatureList::IsEnabled(features::kMaterialDesignSettingsFeature); |
| 103 } |
| OLD | NEW |