Skip to content
Commit 18f767a5 authored by Joel Hockey's avatar Joel Hockey Committed by Chromium LUCI CQ
Browse files

Add chrome::ShowTabModal(DialogModel, WebContents) with android support

chrome::ShowTabModal() is similar to
constrained_window::ShowWebModal() but it does not return the dialog
view.  For platforms with toolkit_views, this calls to ShowWebModal(),
and on android, it calls to new ModalDialogBridge which translates
from ui::DialogModel to clank PropertyModel and shows the clank
dialog.

Low-Coverage-Reason: COVERAGE_UNDERREPORTED tests from c++ exercise Java
Bug: 40101963
Change-Id: Ieb898d0833c77ae63aada64a652671aa258f4303
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5775485


Reviewed-by: default avatarTheresa Sullivan <twellington@chromium.org>
Reviewed-by: default avatarPeter Boström <pbos@chromium.org>
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Auto-Submit: Joel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1343919}
parent 8103647c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment