Update features.cc
This commit is contained in:
parent
5d586456b7
commit
d49a50a26a
1 changed files with 23 additions and 0 deletions
23
third_party/blink/common/features.cc
vendored
23
third_party/blink/common/features.cc
vendored
|
@ -1361,6 +1361,12 @@ const base::Feature kWindowPlacementFullscreenOnScreensChange{
|
|||
// TODO(crbug.com/1277431): This flag should be eventually disabled.
|
||||
const base::Feature kEventPath{"EventPath", base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
// Removes a paint invalidation of viewport constrained objects (sticky or
|
||||
// fixed) after scrolling.
|
||||
const base::Feature kOptimizeViewportConstrainedPaintInvalidation{
|
||||
"OptimizeViewportConstrainedPaintInvalidation",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
const base::Feature kReduceUserAgentMinorVersion{
|
||||
"ReduceUserAgentMinorVersion", base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
|
@ -1387,5 +1393,22 @@ const base::Feature kWebSQLAccess{"kWebSQLAccess",
|
|||
const base::Feature kUACHOverrideBlank{"UACHOverrideBlank",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
const base::Feature kPrewarmDefaultFontFamilies{
|
||||
"PrewarmDefaultFontFamilies", base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
const base::FeatureParam<bool> kPrewarmStandard = {&kPrewarmDefaultFontFamilies,
|
||||
"prewarm_standard", true};
|
||||
const base::FeatureParam<bool> kPrewarmFixed = {&kPrewarmDefaultFontFamilies,
|
||||
"prewarm_fixed", true};
|
||||
const base::FeatureParam<bool> kPrewarmSerif = {&kPrewarmDefaultFontFamilies,
|
||||
"prewarm_serif", true};
|
||||
const base::FeatureParam<bool> kPrewarmSansSerif = {
|
||||
&kPrewarmDefaultFontFamilies, "prewarm_sans_serif", true};
|
||||
const base::FeatureParam<bool> kPrewarmCursive = {&kPrewarmDefaultFontFamilies,
|
||||
"prewarm_cursive", true};
|
||||
const base::FeatureParam<bool> kPrewarmFantasy = {&kPrewarmDefaultFontFamilies,
|
||||
"prewarm_fantasy", true};
|
||||
#endif
|
||||
|
||||
} // namespace features
|
||||
} // namespace blink
|
||||
|
|
Loading…
Reference in a new issue