| OLD | NEW |
| 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 the Accessibility Object Model. | |
| 13 // Explainer: https://github.com/WICG/aom/blob/master/explainer.md | |
| 14 // Spec: https://wicg.github.io/aom/spec/ | |
| 15 const base::Feature kAccessibilityObjectModel( | |
| 16 "AccessibilityObjectModel", | |
| 17 base::FEATURE_DISABLED_BY_DEFAULT); | |
| 18 | |
| 19 // Enables content-initiated, main frame navigations to data URLs. | 12 // Enables content-initiated, main frame navigations to data URLs. |
| 20 // TODO(meacer): Remove when the deprecation is complete. | 13 // TODO(meacer): Remove when the deprecation is complete. |
| 21 // https://www.chromestatus.com/feature/5669602927312896 | 14 // https://www.chromestatus.com/feature/5669602927312896 |
| 22 const base::Feature kAllowContentInitiatedDataUrlNavigations{ | 15 const base::Feature kAllowContentInitiatedDataUrlNavigations{ |
| 23 "AllowContentInitiatedDataUrlNavigations", | 16 "AllowContentInitiatedDataUrlNavigations", |
| 24 base::FEATURE_DISABLED_BY_DEFAULT}; | 17 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 25 | 18 |
| 26 // Enables asm.js to WebAssembly V8 backend. | 19 // Enables asm.js to WebAssembly V8 backend. |
| 27 // http://asmjs.org/spec/latest/ | 20 // http://asmjs.org/spec/latest/ |
| 28 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly", | 21 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly", |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 #endif | 322 #endif |
| 330 | 323 |
| 331 #if defined(OS_WIN) | 324 #if defined(OS_WIN) |
| 332 // Emergency "off switch" for new Windows sandbox security mitigation, | 325 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 333 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 326 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 334 const base::Feature kWinSboxDisableExtensionPoints{ | 327 const base::Feature kWinSboxDisableExtensionPoints{ |
| 335 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 328 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 336 #endif | 329 #endif |
| 337 | 330 |
| 338 } // namespace features | 331 } // namespace features |
| OLD | NEW |