Chromium Code Reviews| Index: chrome/browser/ui/views/message_center/web_notification_tray.cc |
| diff --git a/chrome/browser/ui/views/message_center/web_notification_tray.cc b/chrome/browser/ui/views/message_center/web_notification_tray.cc |
| index 7268b5d144c6430203caf727abc56ac9f471f59e..fb4e8b118aa0a9b38d46d3193502591128dbfb11 100644 |
| --- a/chrome/browser/ui/views/message_center/web_notification_tray.cc |
| +++ b/chrome/browser/ui/views/message_center/web_notification_tray.cc |
| @@ -191,6 +191,12 @@ bool WebNotificationTray::ShowNotifierSettings() { |
| return true; |
| } |
| +bool WebNotificationTray::IsContextMenuEnabled() const { |
| + // It can always return true because the notifications are invisible if |
| + // the context menu shouldn't be enabled, such like lock screen. |
|
stevenjb
2013/12/12 21:19:46
nit: s/such like/such as in the/
Jun Mukai
2013/12/14 01:13:14
Done.
|
| + return true; |
| +} |
| + |
| void WebNotificationTray::OnMessageCenterTrayChanged() { |
| if (status_icon_) { |
| bool quiet_mode_state = message_center()->IsQuietMode(); |