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

Unified Diff: ui/message_center/notification_list.h

Issue 11417103: Add quiet mode settings bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
Index: ui/message_center/notification_list.h
diff --git a/ui/message_center/notification_list.h b/ui/message_center/notification_list.h
index cd7e21903f3c03e423828af1b5085d46c90aa5a9..c882816610e7047a1c26d2cf6c6edfba53c68194 100644
--- a/ui/message_center/notification_list.h
+++ b/ui/message_center/notification_list.h
@@ -133,6 +133,8 @@ class MESSAGE_CENTER_EXPORT NotificationList {
// Marks the popups returned by GetPopupNotifications() as shown.
void MarkPopupsAsShown();
+ bool quiet_mode() const { return quiet_mode_; }
+
// Sets the current quiet mode status to |quiet_mode|. The new status is not
// expired.
void SetQuietMode(bool quiet_mode);

Powered by Google App Engine
This is Rietveld 408576698