Add "quit" event for app.

This commit is contained in:
Cheng Zhao 2014-09-25 21:47:54 +08:00
parent dbbfef38b1
commit 909ff085ac
5 changed files with 14 additions and 0 deletions

View file

@ -18,6 +18,9 @@ class BrowserObserver {
// method will not be called, instead it will call OnWillQuit.
virtual void OnWindowAllClosed() {}
// The browser is quitting.
virtual void OnQuit() {}
// The browser has opened a file by double clicking in Finder or dragging the
// file to the Dock icon. (OS X only)
virtual void OnOpenFile(bool* prevent_default,