Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: ui/message_center/views/notification_view.h

Issue 12742005: Added text line limits to collapsed and expanded notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/message_center/views/notification_view.h
diff --git a/ui/message_center/views/notification_view.h b/ui/message_center/views/notification_view.h
index fb9adb70c4c4c40e1ff5e0bff14f0be1ca3525ac..a0c53660331ba399e505eb429b5173dcca62cd2a 100644
--- a/ui/message_center/views/notification_view.h
+++ b/ui/message_center/views/notification_view.h
@@ -9,12 +9,9 @@
#include "ui/message_center/views/message_view.h"
-namespace views {
-class Label;
-} // namespace views
-
namespace message_center {
+class BoundedLabel;
class NotificationChangeObserver;
// View that displays all current types of notification (web, basic, image, and
@@ -50,8 +47,8 @@ class NotificationView : public MessageView {
// Weak references to NotificationView descendants owned by their parents.
views::View* background_view_;
views::View* top_view_;
- views::Label* title_view_;
- views::Label* message_view_;
+ BoundedLabel* title_view_;
+ BoundedLabel* message_view_;
std::vector<views::View*> item_views_;
views::View* icon_view_;
views::View* bottom_view_;

Powered by Google App Engine
This is Rietveld 408576698