Index: chrome/browser/ui/views/profiles/avatar_menu_button.h |
diff --git a/chrome/browser/ui/views/profiles/avatar_menu_button.h b/chrome/browser/ui/views/profiles/avatar_menu_button.h |
index d6b335e7aeafd11c3f6b54f483c7e3207ed1bcea..76baf4b495e7ebb2441a5e6e375819c1fa66636a 100644 |
--- a/chrome/browser/ui/views/profiles/avatar_menu_button.h |
+++ b/chrome/browser/ui/views/profiles/avatar_menu_button.h |
@@ -18,6 +18,7 @@ class Canvas; |
class Image; |
} |
class Browser; |
+class Profile; |
// AvatarMenuButton |
// |
@@ -31,6 +32,15 @@ class AvatarMenuButton : public views::MenuButton, |
// Internal class name. |
static const char kViewClassName[]; |
+ // Get avatar images for the profile. |avatar| is used in the browser window |
+ // whereas |taskbar_badge_avatar| is used for the OS taskbar. If |
+ // |taskbar_badge_avatar| is empty then |avatar| should be used for the |
+ // taskbar as well. |
+ static void GetAvatarImages(Profile* profile, |
+ gfx::Image* avatar, |
+ gfx::Image* taskbar_badge_avatar, |
+ bool *is_rectangle); |
+ |
// Creates a new button. Unless |disabled| is true, clicking on the button |
// will cause the profile menu to be displayed. |
AvatarMenuButton(Browser* browser, bool disabled); |
sky
2014/10/27 14:45:37
nit: style guide says constructor/destructor are b
Roger Tawa OOO till Jul 10th
2014/10/27 18:51:11
Done.
|