[OS X] Implement 'activate-with-open-windows' event for app.

This commit is contained in:
Haojian Wu 2015-09-14 19:28:13 +08:00
parent 4d28fbf561
commit 3ad5d17612
7 changed files with 22 additions and 0 deletions

View file

@ -171,6 +171,10 @@ void App::OnActivateWithNoOpenWindows() {
Emit("activate-with-no-open-windows");
}
void App::OnActivateWithOpenWindows() {
Emit("activate-with-open-windows");
}
void App::OnWillFinishLaunching() {
Emit("will-finish-launching");
}