| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 // Enable the material design playback UI for media elements. This is always | 60 // Enable the material design playback UI for media elements. This is always |
| 61 // on for OS_ANDROID, but may be enabled by experiment for other platforms. | 61 // on for OS_ANDROID, but may be enabled by experiment for other platforms. |
| 62 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", | 62 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", |
| 63 base::FEATURE_ENABLED_BY_DEFAULT}; | 63 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 64 | 64 |
| 65 // Non-validating reload for desktop. | 65 // Non-validating reload for desktop. |
| 66 // See https://crbug.com/591245 | 66 // See https://crbug.com/591245 |
| 67 const base::Feature kNonValidatingReloadOnNormalReload{ | 67 const base::Feature kNonValidatingReloadOnNormalReload{ |
| 68 "NonValidatingReloadOnNormalReload", | 68 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 69 base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 70 | 69 |
| 71 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). | 70 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). |
| 72 // See https://crbug.com/591245 | 71 // See https://crbug.com/591245 |
| 73 const base::Feature kNonValidatingReloadOnRefreshContent{ | 72 const base::Feature kNonValidatingReloadOnRefreshContent{ |
| 74 "NonValidatingReloadOnRefreshContentV2", | 73 "NonValidatingReloadOnRefreshContentV2", |
| 75 base::FEATURE_DISABLED_BY_DEFAULT}; | 74 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 76 | 75 |
| 77 // An experiment to optimize resource loading IPC for small resources. | 76 // An experiment to optimize resource loading IPC for small resources. |
| 78 // http://crbug.com/580928 | 77 // http://crbug.com/580928 |
| 79 const base::Feature kOptimizeLoadingIPCForSmallResources{ | 78 const base::Feature kOptimizeLoadingIPCForSmallResources{ |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 #endif | 152 #endif |
| 154 | 153 |
| 155 #if defined(OS_WIN) | 154 #if defined(OS_WIN) |
| 156 // Emergency "off switch" for new Windows sandbox security mitigation, | 155 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 157 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 156 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 158 const base::Feature kWinSboxDisableExtensionPoints{ | 157 const base::Feature kWinSboxDisableExtensionPoints{ |
| 159 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 158 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 160 #endif | 159 #endif |
| 161 | 160 |
| 162 } // namespace features | 161 } // namespace features |
| OLD | NEW |