mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: remove ViewsDelegate::IsWindowInMetro() override (#38409)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
@@ -42,7 +42,6 @@ class ViewsDelegate : public views::ViewsDelegate {
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
HICON GetDefaultWindowIcon() const override;
|
||||
HICON GetSmallWindowIcon() const override;
|
||||
bool IsWindowInMetro(gfx::NativeWindow window) const override;
|
||||
int GetAppbarAutohideEdges(HMONITOR monitor,
|
||||
base::OnceClosure callback) override;
|
||||
#elif BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
|
||||
|
||||
@@ -111,10 +111,6 @@ HICON ViewsDelegate::GetSmallWindowIcon() const {
|
||||
return GetDefaultWindowIcon();
|
||||
}
|
||||
|
||||
bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow window) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
int ViewsDelegate::GetAppbarAutohideEdges(HMONITOR monitor,
|
||||
base::OnceClosure callback) {
|
||||
// Initialize the map with EDGE_BOTTOM. This is important, as if we return an
|
||||
|
||||
Reference in New Issue
Block a user