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 extern const base::Feature kSecurityChipFeature{ | |
estark
2016/10/21 20:32:27
nit: this should have a comment above explaining i
estark
2016/10/21 20:32:27
nit: I don't think you need `extern` here (only in
spqchan
2016/10/21 21:57:06
Done.
spqchan
2016/10/21 21:57:06
Done.
| |
143 "SecurityChipFeature", base::FEATURE_DISABLED_BY_DEFAULT}; | |
144 #endif | |
145 | |
141 // A new user experience for transitioning into fullscreen and mouse pointer | 146 // A new user experience for transitioning into fullscreen and mouse pointer |
142 // lock states. | 147 // lock states. |
143 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", | 148 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", |
144 base::FEATURE_ENABLED_BY_DEFAULT}; | 149 base::FEATURE_ENABLED_BY_DEFAULT}; |
145 | 150 |
146 #if defined(SYZYASAN) | 151 #if defined(SYZYASAN) |
147 // Enable the deferred free mechanism in the syzyasan module, which helps the | 152 // 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 | 153 // performance by deferring some work on the critical path to a background |
149 // thread. | 154 // thread. |
150 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", | 155 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", |
151 base::FEATURE_ENABLED_BY_DEFAULT}; | 156 base::FEATURE_ENABLED_BY_DEFAULT}; |
152 #endif | 157 #endif |
153 | 158 |
154 #if defined(OS_CHROMEOS) | 159 #if defined(OS_CHROMEOS) |
155 // Enables or disables the opt-in IME menu in the language settings page. | 160 // Enables or disables the opt-in IME menu in the language settings page. |
156 const base::Feature kOptInImeMenu{"OptInImeMenu", | 161 const base::Feature kOptInImeMenu{"OptInImeMenu", |
157 base::FEATURE_ENABLED_BY_DEFAULT}; | 162 base::FEATURE_ENABLED_BY_DEFAULT}; |
158 | 163 |
159 // Enables or disables PIN quick unlock settings integration. | 164 // Enables or disables PIN quick unlock settings integration. |
160 const base::Feature kQuickUnlockPin{"QuickUnlockPin", | 165 const base::Feature kQuickUnlockPin{"QuickUnlockPin", |
161 base::FEATURE_DISABLED_BY_DEFAULT}; | 166 base::FEATURE_DISABLED_BY_DEFAULT}; |
162 | 167 |
163 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 168 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
164 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 169 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
165 base::FEATURE_DISABLED_BY_DEFAULT}; | 170 base::FEATURE_DISABLED_BY_DEFAULT}; |
166 #endif // defined(OS_CHROMEOS) | 171 #endif // defined(OS_CHROMEOS) |
167 | 172 |
168 } // namespace features | 173 } // namespace features |
OLD | NEW |