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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). | 265 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). |
266 const base::Feature kTokenBinding{"token-binding", | 266 const base::Feature kTokenBinding{"token-binding", |
267 base::FEATURE_DISABLED_BY_DEFAULT}; | 267 base::FEATURE_DISABLED_BY_DEFAULT}; |
268 | 268 |
269 // Groups all out-of-process iframes to a different process from the process of | 269 // Groups all out-of-process iframes to a different process from the process of |
270 // the top document. This is a performance isolation mode. Launch bug: | 270 // the top document. This is a performance isolation mode. Launch bug: |
271 // https://crbug.com/595987. | 271 // https://crbug.com/595987. |
272 const base::Feature kTopDocumentIsolation{"top-document-isolation", | 272 const base::Feature kTopDocumentIsolation{"top-document-isolation", |
273 base::FEATURE_DISABLED_BY_DEFAULT}; | 273 base::FEATURE_DISABLED_BY_DEFAULT}; |
274 | 274 |
| 275 // Finch Experiment Param (see base::GetFieldTrialParamValueByFeature) |
| 276 // controlling the mode for selecting which subframes end in the TDI process. |
| 277 // Valid values are integers from the TopDocumentIsolationMode enum. |
| 278 const char kTopDocumentIsolationModeParam[] = "mode"; |
| 279 |
275 // Enables touchpad and wheel scroll latching. | 280 // Enables touchpad and wheel scroll latching. |
276 const base::Feature kTouchpadAndWheelScrollLatching{ | 281 const base::Feature kTouchpadAndWheelScrollLatching{ |
277 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; | 282 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; |
278 | 283 |
279 // Use Feature Policy to gate the use of permission features like midi, | 284 // Use Feature Policy to gate the use of permission features like midi, |
280 // geolocation, camera, microphone, etc. | 285 // geolocation, camera, microphone, etc. |
281 const base::Feature kUseFeaturePolicyForPermissions{ | 286 const base::Feature kUseFeaturePolicyForPermissions{ |
282 "UseFeaturePolicyForPermissions", base::FEATURE_DISABLED_BY_DEFAULT}; | 287 "UseFeaturePolicyForPermissions", base::FEATURE_DISABLED_BY_DEFAULT}; |
283 | 288 |
284 // Use MojoAudioOutputIPC and RenderFrameAudioOutputStreamFactory rather than | 289 // Use MojoAudioOutputIPC and RenderFrameAudioOutputStreamFactory rather than |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 #endif | 404 #endif |
400 | 405 |
401 #if defined(OS_MACOSX) | 406 #if defined(OS_MACOSX) |
402 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the | 407 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the |
403 // entire life of the process. | 408 // entire life of the process. |
404 const base::Feature kMacV2Sandbox{"MacV2Sandbox", | 409 const base::Feature kMacV2Sandbox{"MacV2Sandbox", |
405 base::FEATURE_DISABLED_BY_DEFAULT}; | 410 base::FEATURE_DISABLED_BY_DEFAULT}; |
406 #endif // defined(OS_MACOSX) | 411 #endif // defined(OS_MACOSX) |
407 | 412 |
408 } // namespace features | 413 } // namespace features |
OLD | NEW |