Add UKM for page-wide CLS before input or scroll.
As a side effect, this fixes layoutShiftScoreBeforeInputOrScroll in the "CumulativeShiftScore::AllFrames::UMA" trace event added in crrev.com/768267, which was previously always 0 as we did not set layout_shift_score_before_input_or_scroll in PLMUD::page_render_data_. Also correct description of MainFrame.BeforeInputOrScroll UKM to reflect that both element and document scrolls terminate the accumulation. UKM collection review: go/hofeq Bug: 1115529 Change-Id: Icc7b4b30ef813bf4b774e9c5dfb64c0472d08ea0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2351961Reviewed-by:Robert Kaplow <rkaplow@chromium.org> Reviewed-by:
Nicolás Peña Moreno <npm@chromium.org> Reviewed-by:
Annie Sullivan <sullivan@chromium.org> Commit-Queue: Steve Kobes <skobes@chromium.org> Cr-Commit-Position: refs/heads/master@{#816795}
Showing
Please register or sign in to comment