crostini: installer/upgrader dialog should not be forced close on esc
The installer/upgrader web page has its own closing logic to handle esc key. The dialog code has logic to make sure that it is not forced close on esc key so that the web page can have a chance to handle it. But this behavior is broken by CL https://crrev.com/c/1877088. This CL fixes it by implementing the new ShouldCloseDialogOnEscape() method. Bug: 1053376 Test: manual Change-Id: I4cbd9f9e0a6cfec53ff6c7a54c35b326361c5063 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2060367 Auto-Submit: Jason Lin <lxj@google.com> Reviewed-by:Nicholas Verne <nverne@chromium.org> Reviewed-by:
David Munro <davidmunro@google.com> Commit-Queue: Nicholas Verne <nverne@chromium.org> Cr-Commit-Position: refs/heads/master@{#742868}
Showing
Please register or sign in to comment