WebLayer - add Tab#dismissTransientUi
This API allows embedders to dismiss one active UI element, such as a dialog, fullscreen or a selection popup. Its intended use is to facilitate handling system back presses. The implementation aligns WebLayer Shell with Chrome behavior in that a back press will dismiss the active text selection popup rather than navigating. It also simplifies the shell's onBackPressed somewhat, and allows for future enhancements without involving the embedder. Bug: 1056468 Change-Id: I1124515f2d8498847f19439a8e24ad84b1087ce7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2086323 Commit-Queue: Evan Stade <estade@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#747502}
Showing
Please register or sign in to comment