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: ui/message_center/views/notification_view.h

Issue 1447933002: Implement an indeterminate progress-bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test failure Created 5 years 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
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 "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 #include "ui/message_center/message_center_export.h" 11 #include "ui/message_center/message_center_export.h"
12 #include "ui/message_center/views/message_view.h" 12 #include "ui/message_center/views/message_view.h"
13 #include "ui/views/view_targeter_delegate.h" 13 #include "ui/views/view_targeter_delegate.h"
14 14
15 class GURL; 15 class GURL;
16 16
17 namespace views { 17 namespace views {
18 class ProgressBar; 18 class ProgressBar;
19 } 19 }
20 20
21 namespace message_center { 21 namespace message_center {
22 22
23 class BoundedLabel; 23 class BoundedLabel;
24 class MessageCenter; 24 class MessageCenter;
25 class MessageCenterController; 25 class MessageCenterController;
26 class NotificationButton; 26 class NotificationButton;
27 class NotificationProgressBarBase;
27 class NotificationView; 28 class NotificationView;
28 class PaddedButton; 29 class PaddedButton;
29 class ProportionalImageView; 30 class ProportionalImageView;
30 31
31 // View that displays all current types of notification (web, basic, image, and 32 // View that displays all current types of notification (web, basic, image, and
32 // list). Future notification types may be handled by other classes, in which 33 // list). Future notification types may be handled by other classes, in which
33 // case instances of those classes would be returned by the Create() factory 34 // case instances of those classes would be returned by the Create() factory
34 // method below. 35 // method below.
35 class MESSAGE_CENTER_EXPORT NotificationView 36 class MESSAGE_CENTER_EXPORT NotificationView
36 : public MessageView, 37 : public MessageView,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 views::View* top_view_; 123 views::View* top_view_;
123 BoundedLabel* title_view_; 124 BoundedLabel* title_view_;
124 BoundedLabel* message_view_; 125 BoundedLabel* message_view_;
125 BoundedLabel* context_message_view_; 126 BoundedLabel* context_message_view_;
126 views::ImageButton* settings_button_view_; 127 views::ImageButton* settings_button_view_;
127 std::vector<views::View*> item_views_; 128 std::vector<views::View*> item_views_;
128 ProportionalImageView* icon_view_; 129 ProportionalImageView* icon_view_;
129 views::View* bottom_view_; 130 views::View* bottom_view_;
130 views::View* image_container_; 131 views::View* image_container_;
131 ProportionalImageView* image_view_; 132 ProportionalImageView* image_view_;
132 views::ProgressBar* progress_bar_view_; 133 NotificationProgressBarBase* progress_bar_view_;
133 std::vector<NotificationButton*> action_buttons_; 134 std::vector<NotificationButton*> action_buttons_;
134 std::vector<views::View*> separators_; 135 std::vector<views::View*> separators_;
135 136
136 DISALLOW_COPY_AND_ASSIGN(NotificationView); 137 DISALLOW_COPY_AND_ASSIGN(NotificationView);
137 }; 138 };
138 139
139 } // namespace message_center 140 } // namespace message_center
140 141
141 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_ 142 #endif // UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_VIEW_H_
OLDNEW
« no previous file with comments | « ui/message_center/views/notification_progress_bar.cc ('k') | ui/message_center/views/notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698