Index: ash/frame/header_painter.h |
diff --git a/ash/frame/header_painter.h b/ash/frame/header_painter.h |
index 520758310d50c8b7b6a68342521dbedaaae0e5cd..6649d151c454a0af16d8ad8dca211ee30519a3e5 100644 |
--- a/ash/frame/header_painter.h |
+++ b/ash/frame/header_painter.h |
@@ -56,6 +56,9 @@ class ASH_EXPORT HeaderPainter : public gfx::AnimationDelegate { |
views::View* window_icon, |
FrameCaptionButtonContainerView* caption_button_container); |
+ // Sets the avatar icon to the header. Passing NULL removes the avatar icon. |
+ void UpdateAvatarIcon(views::View* avatar_icon); |
+ |
// Returns the bounds of the client view for a window with |header_height| |
// and |window_bounds|. The return value and |window_bounds| are in the |
// views::NonClientView's coordinates. |
@@ -143,6 +146,9 @@ class ASH_EXPORT HeaderPainter : public gfx::AnimationDelegate { |
// Returns the offset between window left edge and title string. |
int GetTitleOffsetX() const; |
+ // Returns the offset between window left edge and the window icon. |
+ int GetWindowIconOffsetX() const; |
+ |
// Returns the vertical center of the caption button container in window |
// coordinates. |
int GetCaptionButtonContainerCenterY() const; |
@@ -160,6 +166,7 @@ class ASH_EXPORT HeaderPainter : public gfx::AnimationDelegate { |
views::Widget* frame_; |
views::View* header_view_; |
views::View* window_icon_; // May be NULL. |
+ views::View* avatar_icon_; // May be NULL. |
FrameCaptionButtonContainerView* caption_button_container_; |
// The height of the header. |