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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 131 |
132 #if defined(ENABLE_PLUGINS) | 132 #if defined(ENABLE_PLUGINS) |
133 // Disables Plugin Power Saver when Flash is in ALLOW mode. | 133 // Disables Plugin Power Saver when Flash is in ALLOW mode. |
134 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", | 134 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", |
135 base::FEATURE_DISABLED_BY_DEFAULT}; | 135 base::FEATURE_DISABLED_BY_DEFAULT}; |
136 #endif | 136 #endif |
137 | 137 |
138 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", | 138 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", |
139 base::FEATURE_DISABLED_BY_DEFAULT}; | 139 base::FEATURE_DISABLED_BY_DEFAULT}; |
140 | 140 |
| 141 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 142 // Sets the visibility and animation of the security chip. |
| 143 const base::Feature kSecurityChip{"SecurityChip", |
| 144 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 145 #endif |
| 146 |
141 // A new user experience for transitioning into fullscreen and mouse pointer | 147 // A new user experience for transitioning into fullscreen and mouse pointer |
142 // lock states. | 148 // lock states. |
143 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", | 149 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", |
144 base::FEATURE_ENABLED_BY_DEFAULT}; | 150 base::FEATURE_ENABLED_BY_DEFAULT}; |
145 | 151 |
146 #if defined(SYZYASAN) | 152 #if defined(SYZYASAN) |
147 // Enable the deferred free mechanism in the syzyasan module, which helps the | 153 // Enable the deferred free mechanism in the syzyasan module, which helps the |
148 // performance by deferring some work on the critical path to a background | 154 // performance by deferring some work on the critical path to a background |
149 // thread. | 155 // thread. |
150 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", | 156 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", |
151 base::FEATURE_ENABLED_BY_DEFAULT}; | 157 base::FEATURE_ENABLED_BY_DEFAULT}; |
152 #endif | 158 #endif |
153 | 159 |
154 #if defined(OS_CHROMEOS) | 160 #if defined(OS_CHROMEOS) |
155 // Enables or disables the opt-in IME menu in the language settings page. | 161 // Enables or disables the opt-in IME menu in the language settings page. |
156 const base::Feature kOptInImeMenu{"OptInImeMenu", | 162 const base::Feature kOptInImeMenu{"OptInImeMenu", |
157 base::FEATURE_ENABLED_BY_DEFAULT}; | 163 base::FEATURE_ENABLED_BY_DEFAULT}; |
158 | 164 |
159 // Enables or disables PIN quick unlock settings integration. | 165 // Enables or disables PIN quick unlock settings integration. |
160 const base::Feature kQuickUnlockPin{"QuickUnlockPin", | 166 const base::Feature kQuickUnlockPin{"QuickUnlockPin", |
161 base::FEATURE_DISABLED_BY_DEFAULT}; | 167 base::FEATURE_DISABLED_BY_DEFAULT}; |
162 | 168 |
163 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 169 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
164 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 170 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
165 base::FEATURE_DISABLED_BY_DEFAULT}; | 171 base::FEATURE_DISABLED_BY_DEFAULT}; |
166 #endif // defined(OS_CHROMEOS) | 172 #endif // defined(OS_CHROMEOS) |
167 | 173 |
168 } // namespace features | 174 } // namespace features |
OLD | NEW |