summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
Diffstat (limited to 'ash')
-rw-r--r--ash/system/web_notification/web_notification_tray.cc4
-rw-r--r--ash/system/web_notification/web_notification_tray.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
index e59b241..2b33e44 100644
--- a/ash/system/web_notification/web_notification_tray.cc
+++ b/ash/system/web_notification/web_notification_tray.cc
@@ -538,6 +538,10 @@ bool WebNotificationTray::ShowNotifierSettings() {
return ShowMessageCenterInternal(true /* show_settings */);
}
+message_center::MessageCenterTray* WebNotificationTray::GetMessageCenterTray() {
+ return message_center_tray_.get();
+}
+
bool WebNotificationTray::IsPressed() {
return IsMessageCenterBubbleVisible();
}
diff --git a/ash/system/web_notification/web_notification_tray.h b/ash/system/web_notification/web_notification_tray.h
index 0044875..d8b2fd3 100644
--- a/ash/system/web_notification/web_notification_tray.h
+++ b/ash/system/web_notification/web_notification_tray.h
@@ -107,6 +107,7 @@ class ASH_EXPORT WebNotificationTray
virtual bool ShowPopups() OVERRIDE;
virtual void HidePopups() OVERRIDE;
virtual bool ShowNotifierSettings() OVERRIDE;
+ virtual message_center::MessageCenterTray* GetMessageCenterTray() OVERRIDE;
// Overridden from TrayBackgroundView.
virtual bool IsPressed() OVERRIDE;