feat: Add did-become-active event on mac (#23872)

Co-authored-by: Lukas Weber <luweber@microsoft.com>
This commit is contained in:
Lukas Weber 2020-06-16 19:03:41 +02:00 committed by GitHub
parent f9fe8a67b9
commit cf284991d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 30 additions and 0 deletions

View file

@ -684,6 +684,10 @@ void App::OnUpdateUserActivityState(bool* prevent_default,
void App::OnNewWindowForTab() {
Emit("new-window-for-tab");
}
void App::OnDidBecomeActive() {
Emit("did-become-active");
}
#endif
bool App::CanCreateWindow(