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

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

Issue 2625823006: [wasm][asm.js] Turn on asm.js -> WebAssembly by default. (Closed)
Patch Set: fix Created 3 years, 4 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 | « no previous file | content/renderer/render_process_impl.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.
11 11
12 // Enables content-initiated, main frame navigations to data URLs. 12 // Enables content-initiated, main frame navigations to data URLs.
13 // TODO(meacer): Remove when the deprecation is complete. 13 // TODO(meacer): Remove when the deprecation is complete.
14 // https://www.chromestatus.com/feature/5669602927312896 14 // https://www.chromestatus.com/feature/5669602927312896
15 const base::Feature kAllowContentInitiatedDataUrlNavigations{ 15 const base::Feature kAllowContentInitiatedDataUrlNavigations{
16 "AllowContentInitiatedDataUrlNavigations", 16 "AllowContentInitiatedDataUrlNavigations",
17 base::FEATURE_DISABLED_BY_DEFAULT}; 17 base::FEATURE_DISABLED_BY_DEFAULT};
18 18
19 // Enables asm.js to WebAssembly V8 backend. 19 // Enables asm.js to WebAssembly V8 backend.
20 // http://asmjs.org/spec/latest/ 20 // http://asmjs.org/spec/latest/
21 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly", 21 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly",
22 base::FEATURE_DISABLED_BY_DEFAULT}; 22 base::FEATURE_ENABLED_BY_DEFAULT};
23 23
24 // Enables async wheel events. 24 // Enables async wheel events.
25 const base::Feature kAsyncWheelEvents{"AsyncWheelEvents", 25 const base::Feature kAsyncWheelEvents{"AsyncWheelEvents",
26 base::FEATURE_DISABLED_BY_DEFAULT}; 26 base::FEATURE_DISABLED_BY_DEFAULT};
27 27
28 // Block subresource requests whose URLs contain embedded credentials (e.g. 28 // Block subresource requests whose URLs contain embedded credentials (e.g.
29 // `https://user:pass@example.com/resource`). 29 // `https://user:pass@example.com/resource`).
30 const base::Feature kBlockCredentialedSubresources{ 30 const base::Feature kBlockCredentialedSubresources{
31 "BlockCredentialedSubresources", base::FEATURE_ENABLED_BY_DEFAULT}; 31 "BlockCredentialedSubresources", base::FEATURE_ENABLED_BY_DEFAULT};
32 32
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 const base::Feature kDeviceMonitorMac{"DeviceMonitorMac", 431 const base::Feature kDeviceMonitorMac{"DeviceMonitorMac",
432 base::FEATURE_ENABLED_BY_DEFAULT}; 432 base::FEATURE_ENABLED_BY_DEFAULT};
433 433
434 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the 434 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the
435 // entire life of the process. 435 // entire life of the process.
436 const base::Feature kMacV2Sandbox{"MacV2Sandbox", 436 const base::Feature kMacV2Sandbox{"MacV2Sandbox",
437 base::FEATURE_DISABLED_BY_DEFAULT}; 437 base::FEATURE_DISABLED_BY_DEFAULT};
438 #endif // defined(OS_MACOSX) 438 #endif // defined(OS_MACOSX)
439 439
440 } // namespace features 440 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698