| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 base::FEATURE_DISABLED_BY_DEFAULT}; | 88 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 89 | 89 |
| 90 // Causes the implementations of guests (inner WebContents) to use | 90 // Causes the implementations of guests (inner WebContents) to use |
| 91 // out-of-process iframes. | 91 // out-of-process iframes. |
| 92 const base::Feature kGuestViewCrossProcessFrames{ | 92 const base::Feature kGuestViewCrossProcessFrames{ |
| 93 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; | 93 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 94 | 94 |
| 95 // Enables lazily parsing css properties for performance. | 95 // Enables lazily parsing css properties for performance. |
| 96 const base::Feature kLazyParseCSS{"LazyParseCSS", | 96 const base::Feature kLazyParseCSS{"LazyParseCSS", |
| 97 base::FEATURE_DISABLED_BY_DEFAULT}; | 97 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 98 // Can main thread be pipelined with activation. Always disabled for devices |
| 99 // with fewer than 4 cores irrespective of this flag. Can also be overridden by |
| 100 // --enable(disable)-main-frame-before-activation command line flag. |
| 101 const base::Feature kMainFrameBeforeActivation{ |
| 102 "MainFrameBeforeActivation", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 98 | 103 |
| 99 // FeatureList definition for trials to enable the download button on | 104 // FeatureList definition for trials to enable the download button on |
| 100 // MediaDocument. | 105 // MediaDocument. |
| 101 const base::Feature kMediaDocumentDownloadButton{ | 106 const base::Feature kMediaDocumentDownloadButton{ |
| 102 "MediaDocumentDownloadButton", | 107 "MediaDocumentDownloadButton", |
| 103 base::FEATURE_DISABLED_BY_DEFAULT | 108 base::FEATURE_DISABLED_BY_DEFAULT |
| 104 }; | 109 }; |
| 105 | 110 |
| 106 // Enables the memory coordinator. | 111 // Enables the memory coordinator. |
| 107 // WARNING: | 112 // WARNING: |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 #endif | 264 #endif |
| 260 | 265 |
| 261 #if defined(OS_WIN) | 266 #if defined(OS_WIN) |
| 262 // Emergency "off switch" for new Windows sandbox security mitigation, | 267 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 263 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 268 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 264 const base::Feature kWinSboxDisableExtensionPoints{ | 269 const base::Feature kWinSboxDisableExtensionPoints{ |
| 265 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 270 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 266 #endif | 271 #endif |
| 267 | 272 |
| 268 } // namespace features | 273 } // namespace features |
| OLD | NEW |