0

[use-counters] Map usage of display animations to WebDXFeatures

Bug: None
Change-Id: Ia4231dc1ad9255af1081dba7681dd6827e886b72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6023472
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1383337}
This commit is contained in:
Robert Flack
2024-11-15 00:12:18 +00:00
committed by Chromium LUCI CQ
parent 29573157f1
commit a31c3c7343
3 changed files with 3 additions and 0 deletions
components/page_load_metrics/browser/observers
third_party/blink/public/mojom/use_counter/metrics
tools/metrics/histograms

@ -703,6 +703,7 @@ UseCounterMetricsRecorder::GetAnimatedCSSProperties2WebDXFeatureMap() {
// Uncomment this once that's resolved, or replace this with something
// else that matches the resolution of the investigation
// {CSSSampleId::kFontPalette, WebDXFeature::kFontPaletteAnimation}
{CSSSampleId::kDisplay, WebDXFeature::kDisplayAnimation},
}};
return *kMap;

@ -288,6 +288,7 @@ enum WebDXFeature {
kScrollDrivenAnimations = 230,
kWebAnimations = 231,
kCrossDocumentViewTransition = 232,
kDisplayAnimation = 233,
// Add new features immediately above this line. Don't change assigned
// numbers of any item, and don't reuse removed slots.

@ -33986,6 +33986,7 @@ Called by update_use_counter_feature_enum.py.-->
<int value="230" label="ScrollDrivenAnimations"/>
<int value="231" label="WebAnimations"/>
<int value="232" label="CrossDocumentViewTransition"/>
<int value="233" label="DisplayAnimation"/>
</enum>
<!-- LINT.ThenChange(//third_party/blink/public/mojom/use_counter/metrics/webdx_feature.mojom:WebDXFeature) -->