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