зеркало из https://github.com/electron/electron.git
chore: remove ViewsDelegate::IsWindowInMetro() override (#38409)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
Родитель
16cd486356
Коммит
2f8e68f8b3
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче