| 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 b0b75d87dfca2f01d69f3610cd4ed6a685bcfe1b..1cbfbcadd56f6f891518c40ed6ef90300551f2cd 100644
|
| --- a/ash/system/web_notification/web_notification_tray.cc
|
| +++ b/ash/system/web_notification/web_notification_tray.cc
|
| @@ -527,6 +527,12 @@ bool WebNotificationTray::ShowNotifierSettings() {
|
| return ShowMessageCenterInternal(true /* show_settings */);
|
| }
|
|
|
| +bool WebNotificationTray::IsContextMenuEnabled() const {
|
| + user::LoginStatus login_status = status_area_widget()->login_status();
|
| + return login_status != user::LOGGED_IN_NONE
|
| + && login_status != user::LOGGED_IN_LOCKED;
|
| +}
|
| +
|
| message_center::MessageCenterTray* WebNotificationTray::GetMessageCenterTray() {
|
| return message_center_tray_.get();
|
| }
|
|
|