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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // which permits servers to allow the use of stale resources while revalidation | 112 // which permits servers to allow the use of stale resources while revalidation |
113 // proceeds in the background. See http://crbug.com/348877 | 113 // proceeds in the background. See http://crbug.com/348877 |
114 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", | 114 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", |
115 base::FEATURE_DISABLED_BY_DEFAULT}; | 115 base::FEATURE_DISABLED_BY_DEFAULT}; |
116 | 116 |
117 // Enables token binding | 117 // Enables token binding |
118 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). | 118 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). |
119 const base::Feature kTokenBinding{"token-binding", | 119 const base::Feature kTokenBinding{"token-binding", |
120 base::FEATURE_DISABLED_BY_DEFAULT}; | 120 base::FEATURE_DISABLED_BY_DEFAULT}; |
121 | 121 |
| 122 // Enables touchpad scroll latching. |
| 123 // For now, it works only for Mac. |
| 124 const base::Feature kTouchpadScrollLatching{"TouchpadScrollLatching", |
| 125 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 126 |
122 // Weak MemoryCache (https://crbug.com/603462). | 127 // Weak MemoryCache (https://crbug.com/603462). |
123 const base::Feature kWeakMemoryCache{"WeakMemoryCache", | 128 const base::Feature kWeakMemoryCache{"WeakMemoryCache", |
124 base::FEATURE_DISABLED_BY_DEFAULT}; | 129 base::FEATURE_DISABLED_BY_DEFAULT}; |
125 | 130 |
126 // If WebGL Image Chromium is allowed, this feature controls whether it is | 131 // If WebGL Image Chromium is allowed, this feature controls whether it is |
127 // enabled. | 132 // enabled. |
128 const base::Feature kWebGLImageChromium{"WebGLImageChromium", | 133 const base::Feature kWebGLImageChromium{"WebGLImageChromium", |
129 base::FEATURE_ENABLED_BY_DEFAULT}; | 134 base::FEATURE_ENABLED_BY_DEFAULT}; |
130 | 135 |
131 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was | 136 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was |
(...skipping 21 matching lines...) Expand all Loading... |
153 #endif | 158 #endif |
154 | 159 |
155 #if defined(OS_WIN) | 160 #if defined(OS_WIN) |
156 // Emergency "off switch" for new Windows sandbox security mitigation, | 161 // Emergency "off switch" for new Windows sandbox security mitigation, |
157 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 162 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
158 const base::Feature kWinSboxDisableExtensionPoints{ | 163 const base::Feature kWinSboxDisableExtensionPoints{ |
159 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 164 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
160 #endif | 165 #endif |
161 | 166 |
162 } // namespace features | 167 } // namespace features |
OLD | NEW |