| 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. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // When enabled, the navigation will only be permitted if the iframe is | 84 // When enabled, the navigation will only be permitted if the iframe is |
| 85 // same-origin to the top frame, or if a user gesture is being processed. | 85 // same-origin to the top frame, or if a user gesture is being processed. |
| 86 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ | 86 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ |
| 87 "FramebustingNeedsSameOriginOrUserGesture", | 87 "FramebustingNeedsSameOriginOrUserGesture", |
| 88 base::FEATURE_DISABLED_BY_DEFAULT}; | 88 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 89 | 89 |
| 90 // Enables extended Gamepad API features like motion tracking and haptics. | 90 // Enables extended Gamepad API features like motion tracking and haptics. |
| 91 const base::Feature kGamepadExtensions{"GamepadExtensions", | 91 const base::Feature kGamepadExtensions{"GamepadExtensions", |
| 92 base::FEATURE_DISABLED_BY_DEFAULT}; | 92 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 93 | 93 |
| 94 // Enables sensors based on Generic Sensor API: | |
| 95 // https://w3c.github.io/sensors/ | |
| 96 const base::Feature kGenericSensor{"GenericSensor", | |
| 97 base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 98 | |
| 99 // Causes the implementations of guests (inner WebContents) to use | 94 // Causes the implementations of guests (inner WebContents) to use |
| 100 // out-of-process iframes. | 95 // out-of-process iframes. |
| 101 const base::Feature kGuestViewCrossProcessFrames{ | 96 const base::Feature kGuestViewCrossProcessFrames{ |
| 102 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; | 97 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 103 | 98 |
| 104 // Enables BlinkGC heap compaction. | 99 // Enables BlinkGC heap compaction. |
| 105 const base::Feature kHeapCompaction{"HeapCompaction", | 100 const base::Feature kHeapCompaction{"HeapCompaction", |
| 106 base::FEATURE_DISABLED_BY_DEFAULT}; | 101 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 107 | 102 |
| 108 // Enables lazily parsing css properties for performance. | 103 // Enables lazily parsing css properties for performance. |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 #endif // !defined(OS_ANDROID) | 314 #endif // !defined(OS_ANDROID) |
| 320 | 315 |
| 321 #if defined(OS_WIN) | 316 #if defined(OS_WIN) |
| 322 // Emergency "off switch" for new Windows sandbox security mitigation, | 317 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 323 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 318 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 324 const base::Feature kWinSboxDisableExtensionPoints{ | 319 const base::Feature kWinSboxDisableExtensionPoints{ |
| 325 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 320 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 326 #endif | 321 #endif |
| 327 | 322 |
| 328 } // namespace features | 323 } // namespace features |
| OLD | NEW |