Index: ui/message_center/views/bounded_label.h |
diff --git a/ui/message_center/views/bounded_label.h b/ui/message_center/views/bounded_label.h |
index 4018680b3494efc100edb67a5800a037fa49b998..6d97c8850ccc7f3e449369767554b4012213646f 100644 |
--- a/ui/message_center/views/bounded_label.h |
+++ b/ui/message_center/views/bounded_label.h |
@@ -38,9 +38,11 @@ class MESSAGE_CENTER_EXPORT BoundedLabel : public views::View { |
virtual ~BoundedLabel(); |
void SetColors(SkColor textColor, SkColor backgroundColor); |
+ void SetLineHeight(int height); // Pass in 0 for default height. |
void SetLineLimit(int lines); // Pass in -1 for no limit. |
- int line_limit() const { return line_limit_; } |
+ int GetLineHeight() const; |
+ int GetLineLimit() const; |
// Pass in a -1 width to use the preferred width, a -1 limit to skip limits. |
int GetLinesForWidthAndLimit(int width, int limit); |