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

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

Issue 18662006: Support creating progress bar notification for Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedbacks Created 7 years, 5 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
« no previous file with comments | « ui/message_center/notification_types.h ('k') | ui/message_center/views/notification_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
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
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_
OLDNEW
« no previous file with comments | « ui/message_center/notification_types.h ('k') | ui/message_center/views/notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698