chore: remove ViewsDelegate::IsWindowInMetro() override (#38409)

Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
Milan Burda 2023-05-24 20:00:52 +02:00 committed by GitHub
parent 16cd486356
commit 2f8e68f8b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View file

@ -42,7 +42,6 @@ class ViewsDelegate : public views::ViewsDelegate {
#if BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_WIN)
HICON GetDefaultWindowIcon() const override; HICON GetDefaultWindowIcon() const override;
HICON GetSmallWindowIcon() const override; HICON GetSmallWindowIcon() const override;
bool IsWindowInMetro(gfx::NativeWindow window) const override;
int GetAppbarAutohideEdges(HMONITOR monitor, int GetAppbarAutohideEdges(HMONITOR monitor,
base::OnceClosure callback) override; base::OnceClosure callback) override;
#elif BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) #elif BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)

View file

@ -111,10 +111,6 @@ HICON ViewsDelegate::GetSmallWindowIcon() const {
return GetDefaultWindowIcon(); return GetDefaultWindowIcon();
} }
bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow window) const {
return false;
}
int ViewsDelegate::GetAppbarAutohideEdges(HMONITOR monitor, int ViewsDelegate::GetAppbarAutohideEdges(HMONITOR monitor,
base::OnceClosure callback) { base::OnceClosure callback) {
// Initialize the map with EDGE_BOTTOM. This is important, as if we return an // Initialize the map with EDGE_BOTTOM. This is important, as if we return an