| 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 #include "extensions/features/features.h" | 7 #include "extensions/features/features.h" |
| 8 #include "ppapi/features/features.h" | 8 #include "ppapi/features/features.h" |
| 9 | 9 |
| 10 namespace features { | 10 namespace features { |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 const base::Feature kMediaRemoting{"MediaRemoting", | 133 const base::Feature kMediaRemoting{"MediaRemoting", |
| 134 base::FEATURE_DISABLED_BY_DEFAULT}; | 134 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 135 const base::Feature kMediaRemotingEncrypted{"MediaRemotingEncrypted", | 135 const base::Feature kMediaRemotingEncrypted{"MediaRemotingEncrypted", |
| 136 base::FEATURE_DISABLED_BY_DEFAULT}; | 136 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 137 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 137 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
| 138 | 138 |
| 139 // Enables or disables modal permission prompts. | 139 // Enables or disables modal permission prompts. |
| 140 const base::Feature kModalPermissionPrompts{"ModalPermissionPrompts", | 140 const base::Feature kModalPermissionPrompts{"ModalPermissionPrompts", |
| 141 base::FEATURE_DISABLED_BY_DEFAULT}; | 141 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 142 | 142 |
| 143 #if defined(OS_WIN) |
| 144 // Enables or disables the ModuleDatabase backend for the conflicts UI. |
| 145 const base::Feature kModuleDatabase{"ModuleDatabase", |
| 146 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 147 #endif |
| 148 |
| 143 // Enables the use of native notification centers instead of using the Message | 149 // Enables the use of native notification centers instead of using the Message |
| 144 // Center for displaying the toasts. | 150 // Center for displaying the toasts. |
| 145 #if defined(OS_MACOSX) | 151 #if defined(OS_MACOSX) |
| 146 const base::Feature kNativeNotifications{"NativeNotifications", | 152 const base::Feature kNativeNotifications{"NativeNotifications", |
| 147 base::FEATURE_DISABLED_BY_DEFAULT}; | 153 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 148 #endif // defined(OS_MACOSX) | 154 #endif // defined(OS_MACOSX) |
| 149 | 155 |
| 150 // If enabled, the list of content suggestions on the New Tab page will contain | 156 // If enabled, the list of content suggestions on the New Tab page will contain |
| 151 // pages that the user downloaded for later use. | 157 // pages that the user downloaded for later use. |
| 152 const base::Feature kOfflinePageDownloadSuggestionsFeature{ | 158 const base::Feature kOfflinePageDownloadSuggestionsFeature{ |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 237 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 232 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 238 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 233 base::FEATURE_DISABLED_BY_DEFAULT}; | 239 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 234 | 240 |
| 235 // Enables or disables flash component updates on Chrome OS. | 241 // Enables or disables flash component updates on Chrome OS. |
| 236 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 242 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 237 base::FEATURE_DISABLED_BY_DEFAULT}; | 243 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 238 #endif // defined(OS_CHROMEOS) | 244 #endif // defined(OS_CHROMEOS) |
| 239 | 245 |
| 240 } // namespace features | 246 } // namespace features |
| OLD | NEW |