Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M115] Check if TextBubble has been correctly displayed
TextBubble may not be displayed for various reasons: 1. it has already been showing 2. it does reach the minimize size requirement of AnchorPopupWindow 3. the anchor view is not attached to window This CL adds an assertion to check that and skips recording duration metrics if the text bubble has been displayed. (cherry picked from commit f732ca5) Bug: 1448335 Change-Id: I767c851b2203986cf97b40a34cfd6242a1cc9e5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4563505 Commit-Queue: Lijin Shen <lazzzis@google.com> Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Peter Williamson <petewil@chromium.org> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1148835} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4582407 Cr-Commit-Position: refs/branch-heads/5790@{#236} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information
Lijin Shen
authored and
Chromium LUCI CQ
committed
Jun 1, 2023
1 parent
cfd6e01
commit 1b30156
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters