Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: ui/views/win/hwnd_message_handler.cc

Issue 772533002: Fix icon on Windows XP taskbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ui/gfx/win/window_impl.cc ('K') | « ui/views/win/hwnd_message_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler.cc
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
index f35b155db25513a71dfb8c5e8835bf652f049fe0..88b76e00e49866810a7c9bd61b8e6b0850d55433 100644
--- a/ui/views/win/hwnd_message_handler.cc
+++ b/ui/views/win/hwnd_message_handler.cc
@@ -910,6 +910,13 @@ HICON HWNDMessageHandler::GetDefaultWindowIcon() const {
ViewsDelegate::views_delegate->GetDefaultWindowIcon() : NULL;
}
+HICON HWNDMessageHandler::GetSmallWindowIcon() const {
+ if (use_system_default_icon_)
+ return NULL;
+ return ViewsDelegate::views_delegate ?
+ ViewsDelegate::views_delegate->GetSmallWindowIcon() : NULL;
+}
+
LRESULT HWNDMessageHandler::OnWndProc(UINT message,
WPARAM w_param,
LPARAM l_param) {
« ui/gfx/win/window_impl.cc ('K') | « ui/views/win/hwnd_message_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698