diff options
Diffstat (limited to 'ui/message_center/views/notification_view.h')
-rw-r--r-- | ui/message_center/views/notification_view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/message_center/views/notification_view.h b/ui/message_center/views/notification_view.h index fb9adb7..10fd870 100644 --- a/ui/message_center/views/notification_view.h +++ b/ui/message_center/views/notification_view.h @@ -47,6 +47,10 @@ class NotificationView : public MessageView { NotificationChangeObserver* observer, bool expanded); + // Truncate the very long text if we should. See crbug.com/222151 for the + // details. + string16 MaybeTruncateText(const string16& text, size_t limit); + // Weak references to NotificationView descendants owned by their parents. views::View* background_view_; views::View* top_view_; |