| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // When enabled, the navigation will only be permitted if the iframe is | 59 // When enabled, the navigation will only be permitted if the iframe is |
| 60 // same-origin to the top frame, or if a user gesture is being processed. | 60 // same-origin to the top frame, or if a user gesture is being processed. |
| 61 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ | 61 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ |
| 62 "FramebustingNeedsSameOriginOrUserGesture", | 62 "FramebustingNeedsSameOriginOrUserGesture", |
| 63 base::FEATURE_ENABLED_BY_DEFAULT}; | 63 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 64 | 64 |
| 65 // Enables extended Gamepad API features like motion tracking and haptics. | 65 // Enables extended Gamepad API features like motion tracking and haptics. |
| 66 const base::Feature kGamepadExtensions{"GamepadExtensions", | 66 const base::Feature kGamepadExtensions{"GamepadExtensions", |
| 67 base::FEATURE_DISABLED_BY_DEFAULT}; | 67 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 68 | 68 |
| 69 // Enables sensors based on Generic Sensor API: |
| 70 // https://w3c.github.io/sensors/ |
| 71 const base::Feature kGenericSensor{"GenericSensor", |
| 72 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 73 |
| 74 |
| 69 // FeatureList definition for trials to enable the download button on | 75 // FeatureList definition for trials to enable the download button on |
| 70 // MediaDocument. | 76 // MediaDocument. |
| 71 const base::Feature kMediaDocumentDownloadButton{ | 77 const base::Feature kMediaDocumentDownloadButton{ |
| 72 "MediaDocumentDownloadButton", | 78 "MediaDocumentDownloadButton", |
| 73 base::FEATURE_DISABLED_BY_DEFAULT | 79 base::FEATURE_DISABLED_BY_DEFAULT |
| 74 }; | 80 }; |
| 75 | 81 |
| 76 // Enables the memory coordinator. | 82 // Enables the memory coordinator. |
| 77 // WARNING: | 83 // WARNING: |
| 78 // The memory coordinator is not ready for use and enabling this may cause | 84 // The memory coordinator is not ready for use and enabling this may cause |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 #endif | 225 #endif |
| 220 | 226 |
| 221 #if defined(OS_WIN) | 227 #if defined(OS_WIN) |
| 222 // Emergency "off switch" for new Windows sandbox security mitigation, | 228 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 223 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 229 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 224 const base::Feature kWinSboxDisableExtensionPoints{ | 230 const base::Feature kWinSboxDisableExtensionPoints{ |
| 225 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 231 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 226 #endif | 232 #endif |
| 227 | 233 |
| 228 } // namespace features | 234 } // namespace features |
| OLD | NEW |