| 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 187 |
| 188 #if BUILDFLAG(ENABLE_PLUGINS) | 188 #if BUILDFLAG(ENABLE_PLUGINS) |
| 189 // Disables Plugin Power Saver when Flash is in ALLOW mode. | 189 // Disables Plugin Power Saver when Flash is in ALLOW mode. |
| 190 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", | 190 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", |
| 191 base::FEATURE_DISABLED_BY_DEFAULT}; | 191 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 192 #endif | 192 #endif |
| 193 | 193 |
| 194 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", | 194 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", |
| 195 base::FEATURE_DISABLED_BY_DEFAULT}; | 195 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 196 | 196 |
| 197 #if defined(OS_CHROMEOS) |
| 198 // The lock screen will be preloaded and shared so it is instantly available |
| 199 // when the user locks the Chromebook device. |
| 200 const base::Feature kSharedLockScreen{"SharedLockScreen", |
| 201 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 202 #endif |
| 203 |
| 197 // A new user experience for transitioning into fullscreen and mouse pointer | 204 // A new user experience for transitioning into fullscreen and mouse pointer |
| 198 // lock states. | 205 // lock states. |
| 199 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", | 206 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", |
| 200 base::FEATURE_ENABLED_BY_DEFAULT}; | 207 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 201 | 208 |
| 202 #if defined(SYZYASAN) | 209 #if defined(SYZYASAN) |
| 203 // Enable the deferred free mechanism in the syzyasan module, which helps the | 210 // Enable the deferred free mechanism in the syzyasan module, which helps the |
| 204 // performance by deferring some work on the critical path to a background | 211 // performance by deferring some work on the critical path to a background |
| 205 // thread. | 212 // thread. |
| 206 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", | 213 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 224 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 231 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 225 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 232 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 226 base::FEATURE_DISABLED_BY_DEFAULT}; | 233 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 227 | 234 |
| 228 // Enables or disables flash component updates on Chrome OS. | 235 // Enables or disables flash component updates on Chrome OS. |
| 229 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 236 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 230 base::FEATURE_DISABLED_BY_DEFAULT}; | 237 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 231 #endif // defined(OS_CHROMEOS) | 238 #endif // defined(OS_CHROMEOS) |
| 232 | 239 |
| 233 } // namespace features | 240 } // namespace features |
| OLD | NEW |