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

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

Issue 2790823002: Spec compliant video constraints for getUserMedia behind flag. (Closed)
Patch Set: rebase 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
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/renderer/media_stream_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 const base::Feature kLoadingWithMojo{"LoadingWithMojo", 113 const base::Feature kLoadingWithMojo{"LoadingWithMojo",
114 base::FEATURE_DISABLED_BY_DEFAULT}; 114 base::FEATURE_DISABLED_BY_DEFAULT};
115 115
116 // FeatureList definition for trials to enable the download button on 116 // FeatureList definition for trials to enable the download button on
117 // MediaDocument. 117 // MediaDocument.
118 const base::Feature kMediaDocumentDownloadButton{ 118 const base::Feature kMediaDocumentDownloadButton{
119 "MediaDocumentDownloadButton", 119 "MediaDocumentDownloadButton",
120 base::FEATURE_DISABLED_BY_DEFAULT 120 base::FEATURE_DISABLED_BY_DEFAULT
121 }; 121 };
122 122
123 // Enables the old algorithm for processing video constraints in getUserMedia().
124 const base::Feature kMediaStreamOldVideoConstraints{
125 "MediaStreamOldVideoConstraints", base::FEATURE_ENABLED_BY_DEFAULT};
126
123 // Enables the memory coordinator. 127 // Enables the memory coordinator.
124 // WARNING: 128 // WARNING:
125 // The memory coordinator is not ready for use and enabling this may cause 129 // The memory coordinator is not ready for use and enabling this may cause
126 // unexpected memory regression at this point. Please do not enable this. 130 // unexpected memory regression at this point. Please do not enable this.
127 const base::Feature kMemoryCoordinator { 131 const base::Feature kMemoryCoordinator {
128 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT 132 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
129 }; 133 };
130 134
131 // Kill switch for Web Notification content images. 135 // Kill switch for Web Notification content images.
132 const base::Feature kNotificationContentImage{"NotificationContentImage", 136 const base::Feature kNotificationContentImage{"NotificationContentImage",
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 #endif // !defined(OS_ANDROID) 315 #endif // !defined(OS_ANDROID)
312 316
313 #if defined(OS_WIN) 317 #if defined(OS_WIN)
314 // Emergency "off switch" for new Windows sandbox security mitigation, 318 // Emergency "off switch" for new Windows sandbox security mitigation,
315 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 319 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
316 const base::Feature kWinSboxDisableExtensionPoints{ 320 const base::Feature kWinSboxDisableExtensionPoints{
317 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 321 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
318 #endif 322 #endif
319 323
320 } // namespace features 324 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/renderer/media_stream_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698