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

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

Issue 2790823002: Spec compliant video constraints for getUserMedia behind flag. (Closed)
Patch Set: fix tests Created 3 years, 8 months 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 const base::Feature kLoadingWithMojo{"LoadingWithMojo", 106 const base::Feature kLoadingWithMojo{"LoadingWithMojo",
107 base::FEATURE_DISABLED_BY_DEFAULT}; 107 base::FEATURE_DISABLED_BY_DEFAULT};
108 108
109 // FeatureList definition for trials to enable the download button on 109 // FeatureList definition for trials to enable the download button on
110 // MediaDocument. 110 // MediaDocument.
111 const base::Feature kMediaDocumentDownloadButton{ 111 const base::Feature kMediaDocumentDownloadButton{
112 "MediaDocumentDownloadButton", 112 "MediaDocumentDownloadButton",
113 base::FEATURE_DISABLED_BY_DEFAULT 113 base::FEATURE_DISABLED_BY_DEFAULT
114 }; 114 };
115 115
116 // Enables the old algorithm for processing video constraints in getUserMedia().
117 const base::Feature kMediaStreamOldVideoConstraints{
118 "MediaStreamOldVideoConstraints", base::FEATURE_ENABLED_BY_DEFAULT};
119
116 // Enables the memory coordinator. 120 // Enables the memory coordinator.
117 // WARNING: 121 // WARNING:
118 // The memory coordinator is not ready for use and enabling this may cause 122 // The memory coordinator is not ready for use and enabling this may cause
119 // unexpected memory regression at this point. Please do not enable this. 123 // unexpected memory regression at this point. Please do not enable this.
120 const base::Feature kMemoryCoordinator { 124 const base::Feature kMemoryCoordinator {
121 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT 125 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
122 }; 126 };
123 127
124 // Kill switch for Web Notification content images. 128 // Kill switch for Web Notification content images.
125 const base::Feature kNotificationContentImage{"NotificationContentImage", 129 const base::Feature kNotificationContentImage{"NotificationContentImage",
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 #endif // !defined(OS_ANDROID) 293 #endif // !defined(OS_ANDROID)
290 294
291 #if defined(OS_WIN) 295 #if defined(OS_WIN)
292 // Emergency "off switch" for new Windows sandbox security mitigation, 296 // Emergency "off switch" for new Windows sandbox security mitigation,
293 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 297 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
294 const base::Feature kWinSboxDisableExtensionPoints{ 298 const base::Feature kWinSboxDisableExtensionPoints{
295 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 299 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
296 #endif 300 #endif
297 301
298 } // namespace features 302 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698