mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Update features.cc
This commit is contained in:
parent
617dfe5ec7
commit
d7ba7eed2b
1 changed files with 13 additions and 5 deletions
18
third_party/blink/common/features.cc
vendored
18
third_party/blink/common/features.cc
vendored
|
@ -62,6 +62,11 @@ const base::Feature kExcludeLowEntropyImagesFromLCP{
|
||||||
const base::FeatureParam<double> kMinimumEntropyForLCP{
|
const base::FeatureParam<double> kMinimumEntropyForLCP{
|
||||||
&kExcludeLowEntropyImagesFromLCP, "min_bpp", 2};
|
&kExcludeLowEntropyImagesFromLCP, "min_bpp", 2};
|
||||||
|
|
||||||
|
// Used as a binding for controlling the runtime enabled blink feature
|
||||||
|
// "FixedElementsDontOverscroll". This is needed for experimentation.
|
||||||
|
const base::Feature kFixedElementsDontOverscroll{
|
||||||
|
"FixedElementsDontOverscroll", base::FEATURE_DISABLED_BY_DEFAULT};
|
||||||
|
|
||||||
const base::Feature kGMSCoreEmoji{"GMSCoreEmoji",
|
const base::Feature kGMSCoreEmoji{"GMSCoreEmoji",
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||||
|
|
||||||
|
@ -224,8 +229,9 @@ const base::FeatureParam<FencedFramesImplementationType>
|
||||||
FencedFramesImplementationType::kShadowDOM,
|
FencedFramesImplementationType::kShadowDOM,
|
||||||
&fenced_frame_implementation_types};
|
&fenced_frame_implementation_types};
|
||||||
|
|
||||||
// Enable the shared storage API. This base::Feature directly controls the
|
// Enable the shared storage API. Note that enabling this feature does not
|
||||||
// corresponding runtime enabled feature.
|
// automatically expose this API to the web, it only allows the element to be
|
||||||
|
// enabled by the runtime enabled feature, for origin trials.
|
||||||
// https://github.com/pythagoraskitty/shared-storage/blob/main/README.md
|
// https://github.com/pythagoraskitty/shared-storage/blob/main/README.md
|
||||||
const base::Feature kSharedStorageAPI{"SharedStorageAPI",
|
const base::Feature kSharedStorageAPI{"SharedStorageAPI",
|
||||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||||
|
@ -1352,9 +1358,6 @@ const base::Feature kNoForcedFrameUpdatesForWebTests{
|
||||||
const base::Feature kElementSuperRareData{"ElementSuperRareData",
|
const base::Feature kElementSuperRareData{"ElementSuperRareData",
|
||||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||||
|
|
||||||
const base::Feature kClientHintsPartitionedCookies{
|
|
||||||
"ClientHintsPartitionedCookies", base::FEATURE_DISABLED_BY_DEFAULT};
|
|
||||||
|
|
||||||
const base::Feature kDurableClientHintsCache{"DurableClientHintsCache",
|
const base::Feature kDurableClientHintsCache{"DurableClientHintsCache",
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||||
|
|
||||||
|
@ -1464,6 +1467,11 @@ const base::Feature kSubstringSetTreeForAttributeBuckets{
|
||||||
const base::Feature kPendingBeaconAPI{"PendingBeaconAPI",
|
const base::Feature kPendingBeaconAPI{"PendingBeaconAPI",
|
||||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||||
|
|
||||||
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID)
|
||||||
|
const base::Feature kPrefetchFontLookupTables{
|
||||||
|
"PrefetchFontLookupTables", base::FEATURE_DISABLED_BY_DEFAULT};
|
||||||
|
#endif
|
||||||
|
|
||||||
const base::Feature kSimulateClickOnAXFocus {
|
const base::Feature kSimulateClickOnAXFocus {
|
||||||
"SimulateClickOnAXFocus",
|
"SimulateClickOnAXFocus",
|
||||||
#if BUILDFLAG(IS_WIN)
|
#if BUILDFLAG(IS_WIN)
|
||||||
|
|
Loading…
Reference in a new issue