-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create subscriber APIs for help bubble events.
This CL exposes the ability to subscribe to the following events through the `UserEducationHelpBubbleController`: * Help bubble anchor bounds changed * Help bubble closed * Help bubble shown These events will be used to invalidate the Welcome Tour scrim which will need to mask cut outs for help bubble anchor views. Note that this CL uses CallbackLists rather than Observers to be as consistent as possible with the ElementTracker infrastructure upon which user education services are built: https://source.chromium.org/chromium/chromium/src/+/main:ui/base/interaction/element_tracker.h;l=164-195 Bug: b:277091650 Change-Id: Ie94546103bcaac166cf3ac820356ff2d3cc2fbb4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4581813 Commit-Queue: David Black <dmblack@google.com> Reviewed-by: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1153680}
- Loading branch information
David Black
authored and
Chromium LUCI CQ
committed
Jun 6, 2023
1 parent
ba0a222
commit 7f72814
Showing
4 changed files
with
234 additions
and
49 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
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
Oops, something went wrong.