| Index: ash/system/web_notification/web_notification_tray.cc
|
| diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
|
| index 5527133c4259906ac78fb979b4b4d0e0d0cb4a1c..d592afe8dd9d81442ee8460ab3e456b7519217f8 100644
|
| --- a/ash/system/web_notification/web_notification_tray.cc
|
| +++ b/ash/system/web_notification/web_notification_tray.cc
|
| @@ -376,6 +376,7 @@ bool WebNotificationTray::ShowMessageCenterInternal(bool show_settings) {
|
| status_area_widget()->SetHideSystemNotifications(true);
|
| GetShelfLayoutManager()->UpdateAutoHideState();
|
| button_->SetBubbleVisible(true);
|
| + SetDrawBackgroundAsActive(true);
|
| return true;
|
| }
|
|
|
| @@ -386,6 +387,7 @@ bool WebNotificationTray::ShowMessageCenter() {
|
| void WebNotificationTray::HideMessageCenter() {
|
| if (!message_center_bubble())
|
| return;
|
| + SetDrawBackgroundAsActive(false);
|
| message_center_bubble_.reset();
|
| should_block_shelf_auto_hide_ = false;
|
| show_message_center_on_unlock_ = false;
|
| @@ -568,10 +570,6 @@ void WebNotificationTray::ExecuteCommand(int command_id, int event_flags) {
|
| message_center()->EnterQuietModeWithExpire(expires_in);
|
| }
|
|
|
| -bool WebNotificationTray::IsPressed() {
|
| - return IsMessageCenterBubbleVisible();
|
| -}
|
| -
|
| void WebNotificationTray::ButtonPressed(views::Button* sender,
|
| const ui::Event& event) {
|
| DCHECK_EQ(button_, sender);
|
|
|