Base DialogModel close-x on dialog modality
Removes explicit SetShowCloseButton calls. Leaves an ability to more explicitly override the close-x (OverrideShowCloseButton) to avoid changing existing dialogs as they are converted. Making all existing dialogs respect dialog modality and removing this override is something I'll try to negotiate separately, but this can at least be correct by default. Bug: 1106422 Change-Id: Ib8424e5c45fadee58aa07e5a2d26bd117054ebbc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2465805 Commit-Queue: Peter Boström <pbos@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#816445}
Showing
Please register or sign in to comment