| 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" |
| 11 #include "ui/message_center/views/message_view.h" | 11 #include "ui/message_center/views/message_view.h" |
| 12 | 12 |
| 13 namespace views { |
| 14 class ProgressBar; |
| 15 } |
| 16 |
| 13 namespace message_center { | 17 namespace message_center { |
| 14 | 18 |
| 15 class BoundedLabel; | 19 class BoundedLabel; |
| 16 class MessageCenter; | 20 class MessageCenter; |
| 17 | 21 |
| 18 // View that displays all current types of notification (web, basic, image, and | 22 // View that displays all current types of notification (web, basic, image, and |
| 19 // list). Future notification types may be handled by other classes, in which | 23 // list). Future notification types may be handled by other classes, in which |
| 20 // case instances of those classes would be returned by the Create() factory | 24 // case instances of those classes would be returned by the Create() factory |
| 21 // method below. | 25 // method below. |
| 22 class MESSAGE_CENTER_EXPORT NotificationView : public MessageView { | 26 class MESSAGE_CENTER_EXPORT NotificationView : public MessageView { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 68 |
| 65 // Weak references to NotificationView descendants owned by their parents. | 69 // Weak references to NotificationView descendants owned by their parents. |
| 66 views::View* background_view_; | 70 views::View* background_view_; |
| 67 views::View* top_view_; | 71 views::View* top_view_; |
| 68 BoundedLabel* title_view_; | 72 BoundedLabel* title_view_; |
| 69 BoundedLabel* message_view_; | 73 BoundedLabel* message_view_; |
| 70 std::vector<views::View*> item_views_; | 74 std::vector<views::View*> item_views_; |
| 71 views::View* icon_view_; | 75 views::View* icon_view_; |
| 72 views::View* bottom_view_; | 76 views::View* bottom_view_; |
| 73 views::View* image_view_; | 77 views::View* image_view_; |
| 78 views::ProgressBar* progress_bar_view_; |
| 74 std::vector<views::View*> action_buttons_; | 79 std::vector<views::View*> action_buttons_; |
| 75 | 80 |
| 76 DISALLOW_COPY_AND_ASSIGN(NotificationView); | 81 DISALLOW_COPY_AND_ASSIGN(NotificationView); |
| 77 }; | 82 }; |
| 78 | 83 |
| 79 } // namespace message_center | 84 } // namespace message_center |
| 80 | 85 |
| 81 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ | 86 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ |
| OLD | NEW |