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

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

Issue 2400823002: [asm.js] [wasm] Move asm->wasm + WebAssembly switches to features. (Closed)
Patch Set: fix Created 4 years, 2 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') | content/public/common/content_switches.h » ('j') | 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 683fbb529b81b02821118683230b4bb6fe934544..b282b309791af2c0335a7ccc6b75a292753592d5 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -9,6 +9,11 @@ namespace features {
// All features in alphabetical order.
+// Enables asm.js to WebAssembly V8 backend.
+// http://asmjs.org/spec/latest/
+const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// Enables brotli "Accept-Encoding" advertising and "Content-Encoding" support.
// Brotli format specification: http://www.ietf.org/id/draft-alakuijala-brotli
const base::Feature kBrotliEncoding{"brotli-encoding",
@@ -169,6 +174,11 @@ const base::Feature kTokenBinding{"token-binding",
const base::Feature kTouchpadAndWheelScrollLatching{
"TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};
+// Enable WebAssembly.
+// http://webassembly.org/
+const base::Feature kWebAssembly{"WebAssembly",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// If WebGL Image Chromium is allowed, this feature controls whether it is
// enabled.
const base::Feature kWebGLImageChromium{"WebGLImageChromium",
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698