fix: disabling and enabling resizability on macOS (#30999)

This commit is contained in:
Shelley Vohr 2021-09-17 15:54:15 +02:00 committed by GitHub
parent 8d8fcd88f5
commit 6fdf350bea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 4 deletions

View file

@ -191,6 +191,7 @@ class NativeWindowMac : public NativeWindow,
protected:
// views::WidgetDelegate:
views::View* GetContentsView() override;
bool CanMaximize() const override;
// ui::NativeThemeObserver:
void OnNativeThemeUpdated(ui::NativeTheme* observed_theme) override;