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

Unified 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: Split into two class Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: ui/message_center/views/notification_view.h
diff --git a/ui/message_center/views/notification_view.h b/ui/message_center/views/notification_view.h
index 07c47e4b6fde2c22c8d835ad9a1c4c18268f69f4..00c83644ba12748beeb2f82dcd21e817158e9928 100644
--- a/ui/message_center/views/notification_view.h
+++ b/ui/message_center/views/notification_view.h
@@ -24,6 +24,8 @@ class BoundedLabel;
class MessageCenter;
class MessageCenterController;
class NotificationButton;
+class NotificationProgressBar;
+class NotificationIndeterminateProgressBar;
class NotificationView;
class PaddedButton;
class ProportionalImageView;
@@ -99,6 +101,8 @@ class MESSAGE_CENTER_EXPORT NotificationView
void CreateOrUpdateContextMessageView(const Notification& notification);
void CreateOrUpdateSettingsButtonView(const Notification& notification);
void CreateOrUpdateProgressBarView(const Notification& notification);
+ void CreateOrUpdateIndeterminateProgressBarView(
+ const Notification& notification);
void CreateOrUpdateListItemViews(const Notification& notification);
void CreateOrUpdateIconView(const Notification& notification);
void CreateOrUpdateImageView(const Notification& notification);
@@ -129,7 +133,8 @@ class MESSAGE_CENTER_EXPORT NotificationView
views::View* bottom_view_;
views::View* image_container_;
ProportionalImageView* image_view_;
- views::ProgressBar* progress_bar_view_;
+ NotificationProgressBar* progress_bar_view_;
+ NotificationIndeterminateProgressBar* indeterminate_progress_bar_view_;
Jun Mukai 2015/11/24 17:51:12 I don't think we should have two different instanc
yoshiki 2015/11/25 15:14:28 Done.
std::vector<NotificationButton*> action_buttons_;
std::vector<views::View*> separators_;

Powered by Google App Engine
This is Rietveld 408576698