From f45d2a74d471efbe10c8f4e7ea044dbb0a351156 Mon Sep 17 00:00:00 2001 From: "xiyuan@chromium.org" Date: Mon, 8 Mar 2010 23:28:35 +0000 Subject: Use web app icon as ICON_BIG for Windows - Add a WindowDelegate::GetWindowAppIcon for BrowserView to expose an icon to use as ICON_BIG; - Add an app_icon_ memeber and accessor functions to TabContents; - Update/Set the app_icon_ of TabContents when web app icon is downloaded for converting a tab to app or for chrome web app shortcuts update (this happens when chrome is opened as an app; - Use the app icon as ICON_BIG in WindowWin::UpdateWindowIcon; BUG=32039 TEST=Verify fix for issue 32039 and also Alt-Tab list on XP/Vista uses big icon. Review URL: http://codereview.chromium.org/668265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40962 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/web_applications/web_app.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/web_applications') diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc index b4ec742..0a9f582 100644 --- a/chrome/browser/web_applications/web_app.cc +++ b/chrome/browser/web_applications/web_app.cc @@ -520,6 +520,7 @@ void UpdateShortcutWorker::OnIconDownloaded(int download_id, if (!errored && !image.isNull()) { // Update icon with download image and update shortcut. shortcut_info_.favicon = image; + tab_contents_->SetAppIcon(image); UpdateShortcuts(); } else { // Try the next icon otherwise. -- cgit v1.1