forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[User Education] Add auto-dismiss timeout to WebUI IPH
The HelpBubble will apply the given timeout or fallback to the default values. Default timeout logic is copied from Views IPH (with buttons = never, without buttons = 10s). Timeout gets to javascript as a BigInt and needs to be cast to Number. Timing out will now call HelpBubbleClosed in the HelpBubbleHandler. Mojo changes: - Pass TimeDelta through mojo for timeout - Add HelpBubbleClosedReason enum - Update HelpBubbleClosed to accept HelpBubbleClosedReason Bug: 1350594 Change-Id: I7b6ae1802be5d44127e972dd5fe83859dbfc22e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3838844 Auto-Submit: Mickey Burks <mickeyburks@chromium.org> Reviewed-by: Joe Mason <joenotcharles@google.com> Reviewed-by: Dana Fried <dfried@chromium.org> Commit-Queue: Mickey Burks <mickeyburks@chromium.org> Cr-Commit-Position: refs/heads/main@{#1042190}
- Loading branch information
Mickey Burks
authored and
Chromium LUCI CQ
committed
Sep 1, 2022
1 parent
2d80b7d
commit 4cee94e
Showing
10 changed files
with
212 additions
and
32 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
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
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.