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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT}; | 126 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT}; |
127 | 127 |
128 #if defined(ENABLE_PLUGINS) | 128 #if defined(ENABLE_PLUGINS) |
129 // Prefer HTML content by hiding Flash from the list of plugins. | 129 // Prefer HTML content by hiding Flash from the list of plugins. |
130 // https://crbug.com/626728 | 130 // https://crbug.com/626728 |
131 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", | 131 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", |
132 base::FEATURE_DISABLED_BY_DEFAULT}; | 132 base::FEATURE_DISABLED_BY_DEFAULT}; |
133 #endif | 133 #endif |
134 | 134 |
135 // Enables the Print Scaling feature in print preview. | 135 // Enables the Print Scaling feature in print preview. |
136 #if defined(ENABLE_PRINT_PREVIEW) | 136 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
137 const base::Feature kPrintScaling{"PrintScaling", | 137 const base::Feature kPrintScaling{"PrintScaling", |
138 base::FEATURE_DISABLED_BY_DEFAULT}; | 138 base::FEATURE_DISABLED_BY_DEFAULT}; |
139 #endif | 139 #endif |
140 | 140 |
141 // Enables or disables push subscriptions keeping Chrome running in the | 141 // Enables or disables push subscriptions keeping Chrome running in the |
142 // background when closed. | 142 // background when closed. |
143 const base::Feature kPushMessagingBackgroundMode{ | 143 const base::Feature kPushMessagingBackgroundMode{ |
144 "PushMessagingBackgroundMode", base::FEATURE_DISABLED_BY_DEFAULT}; | 144 "PushMessagingBackgroundMode", base::FEATURE_DISABLED_BY_DEFAULT}; |
145 | 145 |
146 #if defined(OS_CHROMEOS) | 146 #if defined(OS_CHROMEOS) |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 // Enables or disables PIN quick unlock settings integration. | 191 // Enables or disables PIN quick unlock settings integration. |
192 const base::Feature kQuickUnlockPin{"QuickUnlockPin", | 192 const base::Feature kQuickUnlockPin{"QuickUnlockPin", |
193 base::FEATURE_DISABLED_BY_DEFAULT}; | 193 base::FEATURE_DISABLED_BY_DEFAULT}; |
194 | 194 |
195 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 195 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
196 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 196 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
197 base::FEATURE_DISABLED_BY_DEFAULT}; | 197 base::FEATURE_DISABLED_BY_DEFAULT}; |
198 #endif // defined(OS_CHROMEOS) | 198 #endif // defined(OS_CHROMEOS) |
199 | 199 |
200 } // namespace features | 200 } // namespace features |
OLD | NEW |