Index: chrome/browser/views/browser_actions_container.h |
=================================================================== |
--- chrome/browser/views/browser_actions_container.h (revision 38135) |
+++ chrome/browser/views/browser_actions_container.h (working copy) |
@@ -133,6 +133,11 @@ |
BrowserActionView(Extension* extension, BrowserActionsContainer* panel); |
BrowserActionButton* button() { return button_; } |
+ // Allocates a canvas object on the heap and draws into it the icon for the |
+ // view as well as the badge (if any). Caller is responsible for deleting the |
+ // returned object. |
+ gfx::Canvas* GetIconWithBadge(); |
+ |
private: |
virtual void Layout(); |