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:
Cheng Zhao 2013-05-01 15:42:30 +08:00
parent 31d6be0e63
commit 9f1fe4d2c2
4 changed files with 91 additions and 3 deletions

View file

@ -30,6 +30,6 @@ void MoveItemToTrash(const base::FilePath& full_path);
void Beep();
} // platform_util
} // namespace platform_util
#endif // ATOM_COMMON_PLATFORM_UTIL_H_