| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 const base::Feature kMediaRemoting{"MediaRemoting", | 138 const base::Feature kMediaRemoting{"MediaRemoting", |
| 139 base::FEATURE_DISABLED_BY_DEFAULT}; | 139 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 140 const base::Feature kMediaRemotingEncrypted{"MediaRemotingEncrypted", | 140 const base::Feature kMediaRemotingEncrypted{"MediaRemotingEncrypted", |
| 141 base::FEATURE_DISABLED_BY_DEFAULT}; | 141 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 142 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 142 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
| 143 | 143 |
| 144 // Enables or disables modal permission prompts. | 144 // Enables or disables modal permission prompts. |
| 145 const base::Feature kModalPermissionPrompts{"ModalPermissionPrompts", | 145 const base::Feature kModalPermissionPrompts{"ModalPermissionPrompts", |
| 146 base::FEATURE_DISABLED_BY_DEFAULT}; | 146 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 147 | 147 |
| 148 #if defined(OS_WIN) |
| 149 // Enables or disables the ModuleDatabase backend for the conflicts UI. |
| 150 const base::Feature kModuleDatabase{"ModuleDatabase", |
| 151 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 152 #endif |
| 153 |
| 148 // Enables the use of native notification centers instead of using the Message | 154 // Enables the use of native notification centers instead of using the Message |
| 149 // Center for displaying the toasts. | 155 // Center for displaying the toasts. |
| 150 #if defined(OS_MACOSX) | 156 #if defined(OS_MACOSX) |
| 151 const base::Feature kNativeNotifications{"NativeNotifications", | 157 const base::Feature kNativeNotifications{"NativeNotifications", |
| 152 base::FEATURE_DISABLED_BY_DEFAULT}; | 158 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 153 #endif // defined(OS_MACOSX) | 159 #endif // defined(OS_MACOSX) |
| 154 | 160 |
| 155 // If enabled, the list of content suggestions on the New Tab page will contain | 161 // If enabled, the list of content suggestions on the New Tab page will contain |
| 156 // pages that the user downloaded for later use. | 162 // pages that the user downloaded for later use. |
| 157 const base::Feature kOfflinePageDownloadSuggestionsFeature{ | 163 const base::Feature kOfflinePageDownloadSuggestionsFeature{ |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 245 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 240 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 246 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 241 base::FEATURE_ENABLED_BY_DEFAULT}; | 247 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 242 | 248 |
| 243 // Enables or disables flash component updates on Chrome OS. | 249 // Enables or disables flash component updates on Chrome OS. |
| 244 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 250 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 245 base::FEATURE_ENABLED_BY_DEFAULT}; | 251 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 246 #endif // defined(OS_CHROMEOS) | 252 #endif // defined(OS_CHROMEOS) |
| 247 | 253 |
| 248 } // namespace features | 254 } // namespace features |
| OLD | NEW |