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/views/message_view.h" | 10 #include "ui/message_center/views/message_view.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 class ImageView; | |
14 class Label; | 13 class Label; |
15 } // namespace views | 14 } // namespace views |
16 | 15 |
17 namespace message_center { | 16 namespace message_center { |
18 | 17 |
19 class NotificationChangeObserver; | 18 class NotificationChangeObserver; |
20 | 19 |
21 // View that displays all current types of notification (web, basic, image, and | 20 // View that displays all current types of notification (web, basic, image, and |
22 // list). Future notification types may be handled by other classes, in which | 21 // list). Future notification types may be handled by other classes, in which |
23 // case instances of those classes would be returned by the Create() factory | 22 // case instances of those classes would be returned by the Create() factory |
(...skipping 23 matching lines...) Expand all Loading... |
47 NotificationView(const Notification& notification, | 46 NotificationView(const Notification& notification, |
48 NotificationChangeObserver* observer, | 47 NotificationChangeObserver* observer, |
49 bool expanded); | 48 bool expanded); |
50 | 49 |
51 // Weak references to NotificationView descendants owned by their parents. | 50 // Weak references to NotificationView descendants owned by their parents. |
52 views::View* background_view_; | 51 views::View* background_view_; |
53 views::View* top_view_; | 52 views::View* top_view_; |
54 views::Label* title_view_; | 53 views::Label* title_view_; |
55 views::Label* message_view_; | 54 views::Label* message_view_; |
56 std::vector<views::View*> item_views_; | 55 std::vector<views::View*> item_views_; |
57 views::ImageView* icon_view_; | 56 views::View* icon_view_; |
58 views::View* bottom_view_; | 57 views::View* bottom_view_; |
59 views::ImageView* image_view_; | 58 views::View* image_view_; |
60 std::vector<views::Button*> action_buttons_; | 59 std::vector<views::View*> action_buttons_; |
61 | 60 |
62 DISALLOW_COPY_AND_ASSIGN(NotificationView); | 61 DISALLOW_COPY_AND_ASSIGN(NotificationView); |
63 }; | 62 }; |
64 | 63 |
65 } // namespace message_center | 64 } // namespace message_center |
66 | 65 |
67 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ | 66 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ |
OLD | NEW |