| 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). | 290 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). |
| 291 const base::Feature kTokenBinding{"token-binding", | 291 const base::Feature kTokenBinding{"token-binding", |
| 292 base::FEATURE_DISABLED_BY_DEFAULT}; | 292 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 293 | 293 |
| 294 // Groups all out-of-process iframes to a different process from the process of | 294 // Groups all out-of-process iframes to a different process from the process of |
| 295 // the top document. This is a performance isolation mode. Launch bug: | 295 // the top document. This is a performance isolation mode. Launch bug: |
| 296 // https://crbug.com/595987. | 296 // https://crbug.com/595987. |
| 297 const base::Feature kTopDocumentIsolation{"top-document-isolation", | 297 const base::Feature kTopDocumentIsolation{"top-document-isolation", |
| 298 base::FEATURE_DISABLED_BY_DEFAULT}; | 298 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 299 | 299 |
| 300 // Field trial param (see base::GetFieldTrialParamValueByFeature) |
| 301 // controlling the mode for selecting which subframes end in the TDI process. |
| 302 // Valid values are integers from the TopDocumentIsolationMode enum. |
| 303 const char kTopDocumentIsolationModeParam[] = "mode"; |
| 304 |
| 300 // Enables touchpad and wheel scroll latching. | 305 // Enables touchpad and wheel scroll latching. |
| 301 const base::Feature kTouchpadAndWheelScrollLatching{ | 306 const base::Feature kTouchpadAndWheelScrollLatching{ |
| 302 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; | 307 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 303 | 308 |
| 304 // Use Feature Policy to gate the use of permission features like midi, | 309 // Use Feature Policy to gate the use of permission features like midi, |
| 305 // geolocation, camera, microphone, etc. | 310 // geolocation, camera, microphone, etc. |
| 306 const base::Feature kUseFeaturePolicyForPermissions{ | 311 const base::Feature kUseFeaturePolicyForPermissions{ |
| 307 "UseFeaturePolicyForPermissions", base::FEATURE_DISABLED_BY_DEFAULT}; | 312 "UseFeaturePolicyForPermissions", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 308 | 313 |
| 309 // Use MojoAudioOutputIPC and RenderFrameAudioOutputStreamFactory rather than | 314 // Use MojoAudioOutputIPC and RenderFrameAudioOutputStreamFactory rather than |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 const base::Feature kDeviceMonitorMac{"DeviceMonitorMac", | 433 const base::Feature kDeviceMonitorMac{"DeviceMonitorMac", |
| 429 base::FEATURE_ENABLED_BY_DEFAULT}; | 434 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 430 | 435 |
| 431 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the | 436 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the |
| 432 // entire life of the process. | 437 // entire life of the process. |
| 433 const base::Feature kMacV2Sandbox{"MacV2Sandbox", | 438 const base::Feature kMacV2Sandbox{"MacV2Sandbox", |
| 434 base::FEATURE_DISABLED_BY_DEFAULT}; | 439 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 435 #endif // defined(OS_MACOSX) | 440 #endif // defined(OS_MACOSX) |
| 436 | 441 |
| 437 } // namespace features | 442 } // namespace features |
| OLD | NEW |