Index: chrome/browser/ui/views/avatar_label.h |
diff --git a/chrome/browser/ui/views/avatar_label.h b/chrome/browser/ui/views/avatar_label.h |
index d22c179f8e45fe05dd0e22f83384efaf91f2b283..ed036325bbbcdde9fc9686e0647514b20a1eb9aa 100644 |
--- a/chrome/browser/ui/views/avatar_label.h |
+++ b/chrome/browser/ui/views/avatar_label.h |
@@ -24,12 +24,16 @@ class AvatarLabel : public views::TextButton { |
explicit AvatarLabel(BrowserView* browser_view); |
virtual ~AvatarLabel(); |
- // views::TextButton: |
Peter Kasting
2014/01/16 21:46:17
Nit: Don't remove this.
Adrian Kuegel
2014/01/17 09:42:17
Thanks for catching this. I removed this accidenta
|
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
// Update the style of the label according to the provided theme. |
void UpdateLabelStyle(); |
+ // Sets whether the label should be displayed on the right or on the left. A |
+ // new button border is created which has the right insets for the positioning |
+ // of the button. |
+ void SetLabelOnRight(bool label_on_right); |
+ |
private: |
BrowserView* browser_view_; |