mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
Fix building on Windows
This commit is contained in:
@@ -54,6 +54,10 @@ HICON ViewsDelegate::GetDefaultWindowIcon() const {
|
||||
return LoadIcon(GetModuleHandle(NULL), MAKEINTRESOURCE(1 /* IDR_MAINFRAME */));
|
||||
}
|
||||
|
||||
HICON ViewsDelegate::GetSmallWindowIcon() const {
|
||||
return GetDefaultWindowIcon();
|
||||
}
|
||||
|
||||
bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow window) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ class ViewsDelegate : public views::ViewsDelegate {
|
||||
|
||||
#if defined(OS_WIN)
|
||||
virtual HICON GetDefaultWindowIcon() const override;
|
||||
virtual HICON GetSmallWindowIcon() const override;
|
||||
virtual bool IsWindowInMetro(gfx::NativeWindow window) const override;
|
||||
#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
||||
virtual gfx::ImageSkia* GetDefaultWindowIcon() const override;
|
||||
|
||||
2
brightray/vendor/libchromiumcontent
vendored
2
brightray/vendor/libchromiumcontent
vendored
Submodule brightray/vendor/libchromiumcontent updated: 5e41ab5d65...78ddaee215
Reference in New Issue
Block a user