From 3c6aa3a788da02a2cf6f616c5ae20fdce5353dda Mon Sep 17 00:00:00 2001 From: "cpu@chromium.org" Date: Fri, 2 Sep 2011 00:12:37 +0000 Subject: Add avatar decoration to the windows7 taskbar -So you can find your window without playing wack-a-mole. The change is windows 7 specific, because it is easy, we don't have to to create .ico files, manage them, jump to the file thread to read them etc. BUG=94808 TEST=see bug Review URL: http://codereview.chromium.org/7778025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99272 0039d316-1c4b-4281-b951-d872f2087c98 --- views/controls/button/text_button.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/controls/button/text_button.h b/views/controls/button/text_button.h index 3373bc5..ba8568d 100644 --- a/views/controls/button/text_button.h +++ b/views/controls/button/text_button.h @@ -327,9 +327,9 @@ class VIEWS_EXPORT TextButton : public TextButtonBase { } // Sets the icon. - void SetIcon(const SkBitmap& icon); - void SetHoverIcon(const SkBitmap& icon); - void SetPushedIcon(const SkBitmap& icon); + virtual void SetIcon(const SkBitmap& icon); + virtual void SetHoverIcon(const SkBitmap& icon); + virtual void SetPushedIcon(const SkBitmap& icon); bool HasIcon() const { return !icon_.empty(); } -- cgit v1.1