Closing a window requires closing web contents now.
In this way, we can prevent the close of window by using beforeunload handler.
This commit is contained in:
parent
31d6be0e63
commit
9f1fe4d2c2
4 changed files with 91 additions and 3 deletions
|
@ -30,6 +30,6 @@ void MoveItemToTrash(const base::FilePath& full_path);
|
|||
|
||||
void Beep();
|
||||
|
||||
} // platform_util
|
||||
} // namespace platform_util
|
||||
|
||||
#endif // ATOM_COMMON_PLATFORM_UTIL_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue