summaryrefslogtreecommitdiffstats
path: root/chrome/common/badge_util.h
Commit message (Collapse)AuthorAgeFilesLines
* Add dynamic badge listing the # background pages on the wrench menu.atwilson@chromium.org2010-11-231-0/+11
| | | | | | | | | | | | | | | Add badge_util::DrawBadgeIconOverlay() which draws a dynamic text overlay over a badge icon. Add Windows support for rendering a dynamic icon showing the # background pages to the wrench menu. BUG=64144 TEST=Enable background page, look at wrench menu Review URL: http://codereview.chromium.org/5299001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67130 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored GetTextPaint() into common/badge_util.hatwilson@chromium.org2010-11-221-0/+21
Refactored GetTextPaint() into common/badge_util.h so it can be used by other toolbar widgets other than ExtensionAction. BUG=none TEST=check that browser action badges still work Review URL: http://codereview.chromium.org/5144008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66983 0039d316-1c4b-4281-b951-d872f2087c98