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

Side by Side Diff: trunk/src/ui/message_center/views/notification_view.h

Issue 23769003: Revert 220500 "Adds the contextMessage field to notifications." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ 5 #ifndef UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_
6 #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ 6 #define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ui/message_center/message_center_export.h" 10 #include "ui/message_center/message_center_export.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 bool IsMessageExpansionNeeded(int width); 64 bool IsMessageExpansionNeeded(int width);
65 int GetMessageLineLimit(int width); 65 int GetMessageLineLimit(int width);
66 int GetMessageLines(int width, int limit); 66 int GetMessageLines(int width, int limit);
67 int GetMessageHeight(int width, int limit); 67 int GetMessageHeight(int width, int limit);
68 68
69 // Weak references to NotificationView descendants owned by their parents. 69 // Weak references to NotificationView descendants owned by their parents.
70 views::View* background_view_; 70 views::View* background_view_;
71 views::View* top_view_; 71 views::View* top_view_;
72 BoundedLabel* title_view_; 72 BoundedLabel* title_view_;
73 BoundedLabel* message_view_; 73 BoundedLabel* message_view_;
74 BoundedLabel* context_message_view_;
75 std::vector<views::View*> item_views_; 74 std::vector<views::View*> item_views_;
76 views::View* icon_view_; 75 views::View* icon_view_;
77 views::View* bottom_view_; 76 views::View* bottom_view_;
78 views::View* image_view_; 77 views::View* image_view_;
79 views::ProgressBar* progress_bar_view_; 78 views::ProgressBar* progress_bar_view_;
80 std::vector<views::View*> action_buttons_; 79 std::vector<views::View*> action_buttons_;
81 80
82 DISALLOW_COPY_AND_ASSIGN(NotificationView); 81 DISALLOW_COPY_AND_ASSIGN(NotificationView);
83 }; 82 };
84 83
85 } // namespace message_center 84 } // namespace message_center
86 85
87 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ 86 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_
OLDNEW
« no previous file with comments | « trunk/src/ui/message_center/notification.cc ('k') | trunk/src/ui/message_center/views/notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698