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

Unified Diff: ui/message_center/views/notification_header_view.h

Issue 2966693002: Move overflow indicator to notifiction header. (Closed)
Patch Set: Resolve review comments. Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/message_center/views/notification_header_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notification_header_view.h
diff --git a/ui/message_center/views/notification_header_view.h b/ui/message_center/views/notification_header_view.h
index addc8d195b7ef56831b0624d93f99208972d973e..d7762594ea87d49c8b763c4b04871efa3a3b499e 100644
--- a/ui/message_center/views/notification_header_view.h
+++ b/ui/message_center/views/notification_header_view.h
@@ -23,12 +23,14 @@ class NotificationHeaderView : public views::CustomButton {
void SetAppIcon(const gfx::ImageSkia& img);
void SetAppName(const base::string16& name);
void SetProgress(int progress);
+ void SetOverflowIndicator(int count);
void SetExpandButtonEnabled(bool enabled);
void SetExpanded(bool expanded);
void SetSettingsButtonEnabled(bool enabled);
void SetCloseButtonEnabled(bool enabled);
void SetControlButtonsVisible(bool visible);
void ClearProgress();
+ void ClearOverflowIndicator();
bool IsExpandButtonEnabled();
bool IsSettingsButtonEnabled();
bool IsCloseButtonEnabled();
@@ -59,7 +61,8 @@ class NotificationHeaderView : public views::CustomButton {
bool settings_button_enabled_ = false;
bool close_button_enabled_ = false;
bool is_control_buttons_visible_ = false;
- bool has_summary_text_ = false;
+ bool has_progress_ = false;
+ bool has_overflow_indicator_ = false;
DISALLOW_COPY_AND_ASSIGN(NotificationHeaderView);
};
« no previous file with comments | « no previous file | ui/message_center/views/notification_header_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698