| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 const base::Feature kNonValidatingReloadOnRefreshContent{ | 51 const base::Feature kNonValidatingReloadOnRefreshContent{ |
| 52 "NonValidatingReloadOnRefreshContent", | 52 "NonValidatingReloadOnRefreshContent", |
| 53 base::FEATURE_DISABLED_BY_DEFAULT}; | 53 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 54 | 54 |
| 55 // An experiment to optimize resource loading IPC for small resources. | 55 // An experiment to optimize resource loading IPC for small resources. |
| 56 // http://crbug.com/580928 | 56 // http://crbug.com/580928 |
| 57 const base::Feature kOptimizeIPCForSmallResource{ | 57 const base::Feature kOptimizeIPCForSmallResource{ |
| 58 "OptimizeForSmallResource", | 58 "OptimizeForSmallResource", |
| 59 base::FEATURE_DISABLED_BY_DEFAULT}; | 59 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 60 | 60 |
| 61 // Partial support for pointer event feature. |
| 62 const base::Feature kPointerEvents{"PointerEvent", |
| 63 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 64 |
| 61 // Throttle Blink's rendering pipeline based on frame visibility. | 65 // Throttle Blink's rendering pipeline based on frame visibility. |
| 62 const base::Feature kRenderingPipelineThrottling{ | 66 const base::Feature kRenderingPipelineThrottling{ |
| 63 "RenderingPipelineThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; | 67 "RenderingPipelineThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 64 | 68 |
| 65 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 69 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
| 66 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 70 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
| 67 base::FEATURE_DISABLED_BY_DEFAULT}; | 71 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 68 | 72 |
| 69 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 73 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
| 70 // which permits servers to allow the use of stale resources while revalidation | 74 // which permits servers to allow the use of stale resources while revalidation |
| (...skipping 24 matching lines...) Expand all Loading... |
| 95 // we will not use replica editor and do a round trip to renderer to synchronize | 99 // we will not use replica editor and do a round trip to renderer to synchronize |
| 96 // with Blink data. | 100 // with Blink data. |
| 97 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; | 101 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 98 | 102 |
| 99 // FeatureList definition for the Seccomp field trial. | 103 // FeatureList definition for the Seccomp field trial. |
| 100 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 104 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
| 101 base::FEATURE_DISABLED_BY_DEFAULT}; | 105 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 102 #endif | 106 #endif |
| 103 | 107 |
| 104 } // namespace features | 108 } // namespace features |
| OLD | NEW |