Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Side by Side Diff: content/public/common/content_features.cc

Issue 2454073003: Allow backgrounding processes on Mac (Closed)
Patch Set: Remove unnecessary forward declare Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_features.h" 6 #include "content/public/common/content_features.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // All features in alphabetical order. 10 // All features in alphabetical order.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 // Enables extended Gamepad API features like motion tracking and haptics. 76 // Enables extended Gamepad API features like motion tracking and haptics.
77 const base::Feature kGamepadExtensions{"GamepadExtensions", 77 const base::Feature kGamepadExtensions{"GamepadExtensions",
78 base::FEATURE_DISABLED_BY_DEFAULT}; 78 base::FEATURE_DISABLED_BY_DEFAULT};
79 79
80 // Enables sensors based on Generic Sensor API: 80 // Enables sensors based on Generic Sensor API:
81 // https://w3c.github.io/sensors/ 81 // https://w3c.github.io/sensors/
82 const base::Feature kGenericSensor{"GenericSensor", 82 const base::Feature kGenericSensor{"GenericSensor",
83 base::FEATURE_DISABLED_BY_DEFAULT}; 83 base::FEATURE_DISABLED_BY_DEFAULT};
84 84
85
86 // FeatureList definition for trials to enable the download button on 85 // FeatureList definition for trials to enable the download button on
87 // MediaDocument. 86 // MediaDocument.
88 const base::Feature kMediaDocumentDownloadButton{ 87 const base::Feature kMediaDocumentDownloadButton{
89 "MediaDocumentDownloadButton", 88 "MediaDocumentDownloadButton",
90 base::FEATURE_DISABLED_BY_DEFAULT 89 base::FEATURE_DISABLED_BY_DEFAULT
91 }; 90 };
92 91
93 // Enables the memory coordinator. 92 // Enables the memory coordinator.
94 // WARNING: 93 // WARNING:
95 // The memory coordinator is not ready for use and enabling this may cause 94 // The memory coordinator is not ready for use and enabling this may cause
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 237
239 #endif 238 #endif
240 239
241 #if defined(OS_WIN) 240 #if defined(OS_WIN)
242 // Emergency "off switch" for new Windows sandbox security mitigation, 241 // Emergency "off switch" for new Windows sandbox security mitigation,
243 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 242 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
244 const base::Feature kWinSboxDisableExtensionPoints{ 243 const base::Feature kWinSboxDisableExtensionPoints{
245 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 244 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
246 #endif 245 #endif
247 246
247 #if defined(OS_MACOSX)
248 // Enables backgrounding inactive tabs on Mac.
249 const base::Feature kMacBackgroundInactiveTabs{
250 "MacBackgroundInactiveTabs", base::FEATURE_DISABLED_BY_DEFAULT};
251 #endif // defined(OS_MACOSX)
252
248 } // namespace features 253 } // namespace features
OLDNEW
« content/public/common/content_features.h ('K') | « content/public/common/content_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698