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