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

@ -36,6 +36,7 @@ class App : public mate::EventEmitter,
// BrowserObserver implementations:
virtual void OnWillQuit(bool* prevent_default) OVERRIDE;
virtual void OnWindowAllClosed() OVERRIDE;
virtual void OnQuit() OVERRIDE;
virtual void OnOpenFile(bool* prevent_default,
const std::string& file_path) OVERRIDE;
virtual void OnOpenURL(const std::string& url) OVERRIDE;