Adjust to the new behaviors of beforeunload handler
This commit is contained in:
parent
06800940ec
commit
fa0ce7ad5f
5 changed files with 8 additions and 29 deletions
|
@ -26,7 +26,7 @@ void AtomJavaScriptDialogManager::RunBeforeUnloadDialog(
|
|||
bool is_reload,
|
||||
const DialogClosedCallback& callback) {
|
||||
// FIXME(zcbenz): the |message_text| is removed, figure out what should we do.
|
||||
callback.Run(true, base::ASCIIToUTF16("FIXME"));
|
||||
callback.Run(false, base::ASCIIToUTF16("This should not be displayed"));
|
||||
}
|
||||
|
||||
} // namespace atom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue