| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // When enabled, the navigation will only be permitted if the iframe is | 49 // When enabled, the navigation will only be permitted if the iframe is |
| 50 // same-origin to the top frame, or if a user gesture is being processed. | 50 // same-origin to the top frame, or if a user gesture is being processed. |
| 51 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ | 51 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ |
| 52 "FramebustingNeedsSameOriginOrUserGesture", | 52 "FramebustingNeedsSameOriginOrUserGesture", |
| 53 base::FEATURE_ENABLED_BY_DEFAULT}; | 53 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 54 | 54 |
| 55 // Enables extended Gamepad API features like motion tracking and haptics. | 55 // Enables extended Gamepad API features like motion tracking and haptics. |
| 56 const base::Feature kGamepadExtensions{"GamepadExtensions", | 56 const base::Feature kGamepadExtensions{"GamepadExtensions", |
| 57 base::FEATURE_DISABLED_BY_DEFAULT}; | 57 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 58 | 58 |
| 59 // Enables sensors based on Generic Sensor API: |
| 60 // https://w3c.github.io/sensors/ |
| 61 const base::Feature kGenericSensor{"GenericSensor", |
| 62 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 63 |
| 59 // FeatureList definition for trials to enable the download button on | 64 // FeatureList definition for trials to enable the download button on |
| 60 // MediaDocument. | 65 // MediaDocument. |
| 61 const base::Feature kMediaDocumentDownloadButton{ | 66 const base::Feature kMediaDocumentDownloadButton{ |
| 62 "MediaDocumentDownloadButton", | 67 "MediaDocumentDownloadButton", |
| 63 base::FEATURE_DISABLED_BY_DEFAULT | 68 base::FEATURE_DISABLED_BY_DEFAULT |
| 64 }; | 69 }; |
| 65 | 70 |
| 66 // Enables the memory coordinator. | 71 // Enables the memory coordinator. |
| 67 // WARNING: | 72 // WARNING: |
| 68 // The memory coordinator is not ready for use and enabling this may cause | 73 // The memory coordinator is not ready for use and enabling this may cause |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 #endif | 204 #endif |
| 200 | 205 |
| 201 #if defined(OS_WIN) | 206 #if defined(OS_WIN) |
| 202 // Emergency "off switch" for new Windows sandbox security mitigation, | 207 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 203 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 208 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 204 const base::Feature kWinSboxDisableExtensionPoints{ | 209 const base::Feature kWinSboxDisableExtensionPoints{ |
| 205 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 210 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 206 #endif | 211 #endif |
| 207 | 212 |
| 208 } // namespace features | 213 } // namespace features |
| OLD | NEW |