fix: macOS modal focus (#24286)

This commit is contained in:
Shelley Vohr 2020-06-29 13:15:28 -07:00 committed by GitHub
parent d9d07c65b2
commit af4876296c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 35 additions and 10 deletions

View file

@ -66,6 +66,7 @@ class BrowserWindow : public BaseWindow,
// NativeWindowObserver:
void RequestPreferredWidth(int* width) override;
void OnCloseButtonClicked(bool* prevent_default) override;
void OnWindowIsKeyChanged(bool is_key) override;
// BaseWindow:
void OnWindowClosed() override;