Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6645)

Unified Diff: chrome/browser/views/browser_actions_container.h

Issue 575016: Now showing the browser action image (including badge) when dragging and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « no previous file | chrome/browser/views/browser_actions_container.cc » ('j') | chrome/browser/views/browser_actions_container.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698