Add 'activate-with-no-open-windows' event for app.

Fixes #194.
This commit is contained in:
Cheng Zhao 2014-03-05 18:09:44 +08:00
parent a74d3d210d
commit 839a751de5
7 changed files with 33 additions and 0 deletions

View file

@ -26,6 +26,10 @@ class BrowserObserver {
// Browser is used to open a url.
virtual void OnOpenURL(const std::string& url) {}
// The browser is activated with no open windows (usually by clicking on the
// dock icon).
virtual void OnActivateWithNoOpenWindows() {}
// The browser has finished loading.
virtual void OnWillFinishLaunching() {}
virtual void OnFinishLaunching() {}