| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 base::FEATURE_DISABLED_BY_DEFAULT}; | 93 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 94 | 94 |
| 95 // Throttle Blink's rendering pipeline based on frame visibility. | 95 // Throttle Blink's rendering pipeline based on frame visibility. |
| 96 const base::Feature kRenderingPipelineThrottling{ | 96 const base::Feature kRenderingPipelineThrottling{ |
| 97 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; | 97 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 98 | 98 |
| 99 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 99 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
| 100 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 100 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
| 101 base::FEATURE_DISABLED_BY_DEFAULT}; | 101 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 102 | 102 |
| 103 // Speculatively launches Service Workers on mouse/touch events. |
| 104 const base::Feature kSpeculativeLaunchServiceWorker{ |
| 105 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 106 |
| 103 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 107 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
| 104 // which permits servers to allow the use of stale resources while revalidation | 108 // which permits servers to allow the use of stale resources while revalidation |
| 105 // proceeds in the background. See http://crbug.com/348877 | 109 // proceeds in the background. See http://crbug.com/348877 |
| 106 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", | 110 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", |
| 107 base::FEATURE_DISABLED_BY_DEFAULT}; | 111 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 108 | 112 |
| 109 // Enables token binding | 113 // Enables token binding |
| 110 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). | 114 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). |
| 111 const base::Feature kTokenBinding{"token-binding", | 115 const base::Feature kTokenBinding{"token-binding", |
| 112 base::FEATURE_DISABLED_BY_DEFAULT}; | 116 base::FEATURE_DISABLED_BY_DEFAULT}; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 129 // we will not use replica editor and do a round trip to renderer to synchronize | 133 // we will not use replica editor and do a round trip to renderer to synchronize |
| 130 // with Blink data. | 134 // with Blink data. |
| 131 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; | 135 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 132 | 136 |
| 133 // FeatureList definition for the Seccomp field trial. | 137 // FeatureList definition for the Seccomp field trial. |
| 134 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 138 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
| 135 base::FEATURE_DISABLED_BY_DEFAULT}; | 139 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 136 #endif | 140 #endif |
| 137 | 141 |
| 138 } // namespace features | 142 } // namespace features |
| OLD | NEW |