diff options
Diffstat (limited to 'chromium/ui/message_center/views/bounded_label.h')
-rw-r--r-- | chromium/ui/message_center/views/bounded_label.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/ui/message_center/views/bounded_label.h b/chromium/ui/message_center/views/bounded_label.h index e241b5aaf5b..8d204cdac19 100644 --- a/chromium/ui/message_center/views/bounded_label.h +++ b/chromium/ui/message_center/views/bounded_label.h @@ -42,6 +42,7 @@ class MESSAGE_CENTER_EXPORT BoundedLabel : public views::View { void SetLineHeight(int height); // Pass in 0 for default height. void SetLineLimit(int lines); // Pass in -1 for no limit. void SetText(const base::string16& text); // Additionally clears caches. + void SizeToFit(int fixed_width); // Same interface as Label::SizeToFit. int GetLineHeight() const; int GetLineLimit() const; @@ -70,6 +71,7 @@ class MESSAGE_CENTER_EXPORT BoundedLabel : public views::View { std::unique_ptr<InnerBoundedLabel> label_; int line_limit_; + int fixed_width_; DISALLOW_COPY_AND_ASSIGN(BoundedLabel); }; |