Index: ui/views/controls/label.h |
diff --git a/ui/views/controls/label.h b/ui/views/controls/label.h |
index 3881e8fa613073f0ff9253bc76612649e6ce7ae6..536bfcecf2556eb188e18dd9db12ef06fdafd7f6 100644 |
--- a/ui/views/controls/label.h |
+++ b/ui/views/controls/label.h |
@@ -166,6 +166,8 @@ class VIEWS_EXPORT Label : public View { |
} |
bool paint_as_focused() const { return paint_as_focused_; } |
+ void set_elide_at_end(bool elide_at_end) { elide_at_end_ = elide_at_end; } |
+ |
void SetHasFocusBorder(bool has_focus_border); |
// Overridden from View: |
@@ -266,6 +268,7 @@ class VIEWS_EXPORT Label : public View { |
bool is_multi_line_; |
bool allow_character_break_; |
bool elide_in_middle_; |
sky
2012/08/07 19:41:59
Can we use ElideBehavior directly instead of two b
varunjain
2012/08/07 20:24:10
Done.
|
+ bool elide_at_end_; |
bool is_email_; |
Alignment horiz_alignment_; |
string16 tooltip_text_; |