summaryrefslogtreecommitdiffstats
path: root/chrome/common/badge_util.h
Commit message (Collapse)AuthorAgeFilesLines
* Use a direct include of strings headers in chrome/common/, part 1.avi@chromium.org2013-06-111-1/+1
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/15981010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205377 0039d316-1c4b-4281-b951-d872f2087c98
* Move ScriptBadge, ActionInfo out of Extension; preparation for BrowserActionrdevlin.cronin@chromium.org2013-01-161-2/+2
| | | | | | | | | | Moves the parsing of the ScriptBadge key in the manifest out of extension.cc. Also moves out the ActionInfo struct, which Extension should not need to know about. Move some common parsing functions (e.g. LoadIconsFromDirectory) into a common helper file. Rename extension_script_badge_api to script_badge_api; make a ScriptBadgeAPI PKS. BUG=159265 Review URL: https://chromiumcodereview.appspot.com/11588004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177265 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the script bubble for Views.finnur@chromium.org2012-11-291-1/+18
| | | | | | | | | | Note: The link in the bubble takes you to the chrome://extensions page but does not highlight the extension you clicked on. BUG=153137 TEST=Install an extension with a content script, such as Google Dictionary or Turn of the lights. You should see a puzzle piece in the Omnibox indicating how many content scripts are running on the page. Click the puzzle piece to see a list of extensions running the content scripts. Review URL: https://codereview.chromium.org/11417141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170285 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* 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