Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2954)

Unified Diff: ash/system/web_notification/web_notification_tray.h

Issue 10834164: Add message to Ash message center for no notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/status_area_widget.cc ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/web_notification/web_notification_tray.h
diff --git a/ash/system/web_notification/web_notification_tray.h b/ash/system/web_notification/web_notification_tray.h
index 73f39c7f57390dbb457722e15e99e7c6494de748..880123c5f3639f5bcb629eca4de139f2f0f65ad5 100644
--- a/ash/system/web_notification/web_notification_tray.h
+++ b/ash/system/web_notification/web_notification_tray.h
@@ -110,6 +110,9 @@ class ASH_EXPORT WebNotificationTray : public internal::TrayBackgroundView {
// Hide the message center bubble. Should only be called by StatusAreaWidget.
void HideMessageCenterBubble();
+ // Hide the message center bubble if there are no notifications.
+ void HideMessageCenterBubbleIfEmpty();
+
// Show a single notification bubble for the most recent notification.
void ShowNotificationBubble();
« no previous file with comments | « ash/system/status_area_widget.cc ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698