OLD | NEW |
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 Loading... |
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_; |
74 std::vector<views::View*> item_views_; | 75 std::vector<views::View*> item_views_; |
75 views::View* icon_view_; | 76 views::View* icon_view_; |
76 views::View* bottom_view_; | 77 views::View* bottom_view_; |
77 views::View* image_view_; | 78 views::View* image_view_; |
78 views::ProgressBar* progress_bar_view_; | 79 views::ProgressBar* progress_bar_view_; |
79 std::vector<views::View*> action_buttons_; | 80 std::vector<views::View*> action_buttons_; |
80 | 81 |
81 DISALLOW_COPY_AND_ASSIGN(NotificationView); | 82 DISALLOW_COPY_AND_ASSIGN(NotificationView); |
82 }; | 83 }; |
83 | 84 |
84 } // namespace message_center | 85 } // namespace message_center |
85 | 86 |
86 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ | 87 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ |
OLD | NEW |