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

Unified Diff: content/public/common/content_features.cc

Issue 2023383004: Move Canvas and WebGL Image Chromium behind experiments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp68_enable_webgl
Patch Set: Compile errors. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/content_features.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 1d005ff7ed644b9f64745d0ae5d92c3659ef12a3..367fa03b5a11d023bd5bf4586b9fe36107162c2a 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -14,6 +14,11 @@ namespace features {
const base::Feature kBrotliEncoding{"brotli-encoding",
base::FEATURE_ENABLED_BY_DEFAULT};
+// If Canvas2D Image Chromium is allowed, this feature controls whether it is
+// enabled.
+const base::Feature kCanvas2DImageChromium{"Canvas2DImageChromium",
+ base::FEATURE_ENABLED_BY_DEFAULT};
+
// Enables the credential management API:
// https://w3c.github.io/webappsec-credential-management/
const base::Feature kCredentialManagementAPI{"CredentialManagementAPI",
@@ -110,6 +115,11 @@ const base::Feature kTokenBinding{"token-binding",
const base::Feature kWeakMemoryCache{"WeakMemoryCache",
base::FEATURE_DISABLED_BY_DEFAULT};
+// If WebGL Image Chromium is allowed, this feature controls whether it is
+// enabled.
+const base::Feature kWebGLImageChromium{"WebGLImageChromium",
+ base::FEATURE_ENABLED_BY_DEFAULT};
+
// Makes WebRTC use ECDSA certs by default (i.e., when no cert type was
// specified in JS).
const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa",
« no previous file with comments | « content/public/common/content_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698