| Index: ui/message_center/views/message_center_view.cc
|
| diff --git a/ui/message_center/views/message_center_view.cc b/ui/message_center/views/message_center_view.cc
|
| index e3327a567f756a6b0134769fc5c0b8a2f178da29..defba470f0d6fcd8fa04efa8a70722cd95301f86 100644
|
| --- a/ui/message_center/views/message_center_view.cc
|
| +++ b/ui/message_center/views/message_center_view.cc
|
| @@ -177,7 +177,7 @@ void MessageCenterView::ClearAllClosableNotifications() {
|
| if (is_closing_)
|
| return;
|
|
|
| - is_clearing_ = true;
|
| + is_clearing_all_notifications_ = true;
|
| UpdateButtonBarStatus();
|
| SetViewHierarchyEnabled(scroller_, false);
|
| message_list_view_->ClearAllClosableNotifications(
|
| @@ -185,7 +185,7 @@ void MessageCenterView::ClearAllClosableNotifications() {
|
| }
|
|
|
| void MessageCenterView::OnAllNotificationsCleared() {
|
| - is_clearing_ = false;
|
| + is_clearing_all_notifications_ = false;
|
| SetViewHierarchyEnabled(scroller_, true);
|
| button_bar_->SetCloseAllButtonEnabled(false);
|
|
|
| @@ -625,7 +625,7 @@ void MessageCenterView::SetVisibilityMode(Mode mode, bool animate) {
|
|
|
| void MessageCenterView::UpdateButtonBarStatus() {
|
| // Disables all buttons during animation of cleaning of all notifications.
|
| - if (is_clearing_) {
|
| + if (is_clearing_all_notifications_) {
|
| button_bar_->SetSettingsAndQuietModeButtonsEnabled(false);
|
| button_bar_->SetCloseAllButtonEnabled(false);
|
| return;
|
|
|