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..5a293fce7d606a3b634d36d77d0d0f9a5d8e5141 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 |
// |
@@ -50,6 +51,15 @@ class AvatarMenuButton : public views::MenuButton, |
} |
bool button_on_right() { return button_on_right_; } |
+ // 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); |
+ |
private: |
// views::ViewTargeterDelegate: |
virtual bool DoesIntersectRect(const views::View* target, |