Fix building on Windows

This commit is contained in:
Cheng Zhao 2015-03-18 12:55:02 +08:00
parent 21ee1f257f
commit 4e14c8634b
3 changed files with 6 additions and 1 deletions

View file

@ -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;
}

View file

@ -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;

@ -1 +1 @@
Subproject commit 5e41ab5d654a5250014f2d751a2e118c540bdff2
Subproject commit 78ddaee2158886da53d0801db572be38230fd814