diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-09 01:18:15 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-09 01:18:15 +0000 |
commit | e724cb43e666972363380de0f6eba349160ac28c (patch) | |
tree | a6624020ce21fcfe3756f845c0b103ac94c602ff /chrome/views/custom_frame_window.cc | |
parent | 5982bb05e7c927b6384785ae84970ade1b73912a (diff) | |
download | chromium_src-e724cb43e666972363380de0f6eba349160ac28c.zip chromium_src-e724cb43e666972363380de0f6eba349160ac28c.tar.gz chromium_src-e724cb43e666972363380de0f6eba349160ac28c.tar.bz2 |
Allow the window icon to be shown in the task bar, Alt+Tab etc.
B=1031854
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/custom_frame_window.cc')
-rw-r--r-- | chrome/views/custom_frame_window.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc index 08f8e6d..711ccc8 100644 --- a/chrome/views/custom_frame_window.cc +++ b/chrome/views/custom_frame_window.cc @@ -889,6 +889,13 @@ void CustomFrameWindow::UpdateWindowTitle() { Window::UpdateWindowTitle(); } +void CustomFrameWindow::UpdateWindowIcon() { + // The icon will be re-validated during painting. + non_client_view_->SchedulePaint(); + // Call the base class so that places like the Task Bar get updated. + Window::UpdateWindowIcon(); +} + void CustomFrameWindow::EnableClose(bool enable) { non_client_view_->EnableClose(enable); // Make sure the SysMenu changes to reflect this change as well. |