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

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

Issue 2698573002: Support offscreen contexts which own their backing surface (Closed)
Patch Set: Expose the flag to WebKit also Created 3 years, 10 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 base::FEATURE_DISABLED_BY_DEFAULT}; 246 base::FEATURE_DISABLED_BY_DEFAULT};
247 247
248 // Enables HW H264 encoding on Android. 248 // Enables HW H264 encoding on Android.
249 const base::Feature kWebRtcHWH264Encoding{ 249 const base::Feature kWebRtcHWH264Encoding{
250 "WebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; 250 "WebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT};
251 251
252 // Controls whether the WebUSB API is enabled: 252 // Controls whether the WebUSB API is enabled:
253 // https://wicg.github.io/webusb 253 // https://wicg.github.io/webusb
254 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; 254 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT};
255 255
256 // Enables WebVR experimental rendering optimizations.
257 const base::Feature kWebVrExperimentalRendering{
258 "WebVrExperimentalRendering", base::FEATURE_DISABLED_BY_DEFAULT};
amp 2017/02/15 17:44:03 WebVR has a capital 'R' in all the other places we
klausw 2017/02/15 19:47:22 Done.
259
256 // Make sendBeacon throw for a Blob with a non simple type. 260 // Make sendBeacon throw for a Blob with a non simple type.
257 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ 261 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{
258 "SendBeaconThrowForBlobWithNonSimpleType", 262 "SendBeaconThrowForBlobWithNonSimpleType",
259 base::FEATURE_DISABLED_BY_DEFAULT}; 263 base::FEATURE_DISABLED_BY_DEFAULT};
260 264
261 #if defined(OS_ANDROID) 265 #if defined(OS_ANDROID)
262 // A browsing history manager implementation for Android. 266 // A browsing history manager implementation for Android.
263 const base::Feature kNativeAndroidHistoryManager{ 267 const base::Feature kNativeAndroidHistoryManager{
264 "AndroidHistoryManager", base::FEATURE_DISABLED_BY_DEFAULT}; 268 "AndroidHistoryManager", base::FEATURE_DISABLED_BY_DEFAULT};
265 269
(...skipping 22 matching lines...) Expand all
288 #endif // !defined(OS_ANDROID) 292 #endif // !defined(OS_ANDROID)
289 293
290 #if defined(OS_WIN) 294 #if defined(OS_WIN)
291 // Emergency "off switch" for new Windows sandbox security mitigation, 295 // Emergency "off switch" for new Windows sandbox security mitigation,
292 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 296 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
293 const base::Feature kWinSboxDisableExtensionPoints{ 297 const base::Feature kWinSboxDisableExtensionPoints{
294 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 298 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
295 #endif 299 #endif
296 300
297 } // namespace features 301 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698