| 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 b5fbbc0aa3f3f142394766ade6e3d18d8236918c..640f6be47f62f4db7c77934f5f10517dbb2da419 100644
|
| --- a/ui/message_center/views/notification_header_view.h
|
| +++ b/ui/message_center/views/notification_header_view.h
|
| @@ -22,11 +22,13 @@ class NotificationHeaderView : public views::CustomButton {
|
| NotificationHeaderView(views::ButtonListener* listener);
|
| void SetAppIcon(const gfx::ImageSkia& img);
|
| void SetAppName(const base::string16& name);
|
| + void SetProgress(int progress);
|
| void SetExpandButtonEnabled(bool enabled);
|
| void SetExpanded(bool expanded);
|
| void SetSettingsButtonEnabled(bool enabled);
|
| void SetCloseButtonEnabled(bool enabled);
|
| void SetControlButtonsVisible(bool visible);
|
| + void ClearProgress();
|
| bool IsExpandButtonEnabled();
|
| bool IsSettingsButtonEnabled();
|
| bool IsCloseButtonEnabled();
|
| @@ -38,8 +40,11 @@ class NotificationHeaderView : public views::CustomButton {
|
|
|
| private:
|
| void UpdateControlButtonsVisibility();
|
| + void UpdateSummaryTextVisibility();
|
|
|
| views::Label* app_name_view_ = nullptr;
|
| + views::Label* summary_text_divider_ = nullptr;
|
| + views::Label* summary_text_view_ = nullptr;
|
| views::ImageView* app_icon_view_ = nullptr;
|
| views::ImageButton* expand_button_ = nullptr;
|
| PaddedButton* settings_button_ = nullptr;
|
| @@ -48,6 +53,7 @@ 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;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NotificationHeaderView);
|
| };
|
|
|