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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // When enabled, the navigation will only be permitted if the iframe is | 77 // When enabled, the navigation will only be permitted if the iframe is |
78 // same-origin to the top frame, or if a user gesture is being processed. | 78 // same-origin to the top frame, or if a user gesture is being processed. |
79 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ | 79 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ |
80 "FramebustingNeedsSameOriginOrUserGesture", | 80 "FramebustingNeedsSameOriginOrUserGesture", |
81 base::FEATURE_DISABLED_BY_DEFAULT}; | 81 base::FEATURE_DISABLED_BY_DEFAULT}; |
82 | 82 |
83 // Enables extended Gamepad API features like motion tracking and haptics. | 83 // Enables extended Gamepad API features like motion tracking and haptics. |
84 const base::Feature kGamepadExtensions{"GamepadExtensions", | 84 const base::Feature kGamepadExtensions{"GamepadExtensions", |
85 base::FEATURE_DISABLED_BY_DEFAULT}; | 85 base::FEATURE_DISABLED_BY_DEFAULT}; |
86 | 86 |
87 // Enables sensors based on Generic Sensor API: | |
88 // https://w3c.github.io/sensors/ | |
89 const base::Feature kGenericSensor{"GenericSensor", | |
90 base::FEATURE_DISABLED_BY_DEFAULT}; | |
91 | |
92 // Causes the implementations of guests (inner WebContents) to use | 87 // Causes the implementations of guests (inner WebContents) to use |
93 // out-of-process iframes. | 88 // out-of-process iframes. |
94 const base::Feature kGuestViewCrossProcessFrames{ | 89 const base::Feature kGuestViewCrossProcessFrames{ |
95 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; | 90 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; |
96 | 91 |
97 // Enables BlinkGC heap compaction. | 92 // Enables BlinkGC heap compaction. |
98 const base::Feature kHeapCompaction{"HeapCompaction", | 93 const base::Feature kHeapCompaction{"HeapCompaction", |
99 base::FEATURE_DISABLED_BY_DEFAULT}; | 94 base::FEATURE_DISABLED_BY_DEFAULT}; |
100 | 95 |
101 // Enables lazily parsing css properties for performance. | 96 // Enables lazily parsing css properties for performance. |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 #endif // !defined(OS_ANDROID) | 288 #endif // !defined(OS_ANDROID) |
294 | 289 |
295 #if defined(OS_WIN) | 290 #if defined(OS_WIN) |
296 // Emergency "off switch" for new Windows sandbox security mitigation, | 291 // Emergency "off switch" for new Windows sandbox security mitigation, |
297 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 292 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
298 const base::Feature kWinSboxDisableExtensionPoints{ | 293 const base::Feature kWinSboxDisableExtensionPoints{ |
299 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 294 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
300 #endif | 295 #endif |
301 | 296 |
302 } // namespace features | 297 } // namespace features |
OLD | NEW |