[OS X] Implement 'activate-with-open-windows' event for app.
This commit is contained in:
parent
4d28fbf561
commit
3ad5d17612
7 changed files with 22 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@ class App : public mate::EventEmitter,
|
|||
void OnOpenFile(bool* prevent_default, const std::string& file_path) override;
|
||||
void OnOpenURL(const std::string& url) override;
|
||||
void OnActivateWithNoOpenWindows() override;
|
||||
void OnActivateWithOpenWindows() override;
|
||||
void OnWillFinishLaunching() override;
|
||||
void OnFinishLaunching() override;
|
||||
void OnSelectCertificate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue