Compare commits

...

1 Commits

Author SHA1 Message Date
Shelley Vohr
8a7ace2f29 chore: remove unused NativeWindowViews::CanMinimize() method 2025-03-25 16:02:45 +01:00
2 changed files with 0 additions and 9 deletions

View File

@@ -1745,14 +1745,6 @@ bool NativeWindowViews::CanMaximize() const {
return resizable_ && maximizable_;
}
bool NativeWindowViews::CanMinimize() const {
#if BUILDFLAG(IS_WIN)
return minimizable_;
#elif BUILDFLAG(IS_LINUX)
return true;
#endif
}
std::u16string NativeWindowViews::GetWindowTitle() const {
return base::UTF8ToUTF16(title_);
}

View File

@@ -192,7 +192,6 @@ class NativeWindowViews : public NativeWindow,
// views::WidgetDelegate:
views::View* GetInitiallyFocusedView() override;
bool CanMaximize() const override;
bool CanMinimize() const override;
std::u16string GetWindowTitle() const override;
views::View* GetContentsView() override;
bool ShouldDescendIntoChildForEventHandling(