mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
[OS X] Implement 'activate-with-open-windows' event for app.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user