| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // An experiment to optimize resource loading IPC for small resources. | 62 // An experiment to optimize resource loading IPC for small resources. |
| 63 // http://crbug.com/580928 | 63 // http://crbug.com/580928 |
| 64 const base::Feature kOptimizeIPCForSmallResource{ | 64 const base::Feature kOptimizeIPCForSmallResource{ |
| 65 "OptimizeForSmallResource", | 65 "OptimizeForSmallResource", |
| 66 base::FEATURE_DISABLED_BY_DEFAULT}; | 66 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 67 | 67 |
| 68 // Origin Trials for controlling access to feature/API experiments. | 68 // Origin Trials for controlling access to feature/API experiments. |
| 69 const base::Feature kOriginTrials{"OriginTrials", | 69 const base::Feature kOriginTrials{"OriginTrials", |
| 70 base::FEATURE_ENABLED_BY_DEFAULT}; | 70 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 71 | 71 |
| 72 // Paint optimizations including subsequence caching and empty phase skipping. |
| 73 const base::Feature kPaintOptimizations{"PaintOptimizations", |
| 74 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 75 |
| 72 // Partial support for pointer event feature. | 76 // Partial support for pointer event feature. |
| 73 const base::Feature kPointerEvents{"PointerEvent", | 77 const base::Feature kPointerEvents{"PointerEvent", |
| 74 base::FEATURE_DISABLED_BY_DEFAULT}; | 78 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 75 | 79 |
| 76 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 80 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
| 77 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 81 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
| 78 base::FEATURE_DISABLED_BY_DEFAULT}; | 82 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 79 | 83 |
| 80 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 84 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
| 81 // which permits servers to allow the use of stale resources while revalidation | 85 // which permits servers to allow the use of stale resources while revalidation |
| (...skipping 24 matching lines...) Expand all Loading... |
| 106 // we will not use replica editor and do a round trip to renderer to synchronize | 110 // we will not use replica editor and do a round trip to renderer to synchronize |
| 107 // with Blink data. | 111 // with Blink data. |
| 108 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; | 112 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 109 | 113 |
| 110 // FeatureList definition for the Seccomp field trial. | 114 // FeatureList definition for the Seccomp field trial. |
| 111 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 115 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
| 112 base::FEATURE_DISABLED_BY_DEFAULT}; | 116 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 113 #endif | 117 #endif |
| 114 | 118 |
| 115 } // namespace features | 119 } // namespace features |
| OLD | NEW |