DescriptionAdd CanCloseDialog to WebDialogDelegate to allow blocking closing of dialog if needed.
There are some use cases that we don't allow user to close the web dialog until they have finish the UI flow and confirmed some important information. Currently, WebDialogDelegate can't control the closing of the dialog if user presses the "x" button on dialog title bar or presses Esc shortcut key. I am adding a CanClose() method to allow the subclass to block the dialog close if it needs to do so.
BUG=322614
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238193
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|