Chromium Code Reviews| Index: ui/message_center/message_center.h |
| diff --git a/ui/message_center/message_center.h b/ui/message_center/message_center.h |
| index 038c7b712e622f18f021f78fddb28f8f3084c669..1b7a9047bfbbebc8892174a8c17d7b0e2135028a 100644 |
| --- a/ui/message_center/message_center.h |
| +++ b/ui/message_center/message_center.h |
| @@ -76,6 +76,7 @@ class MESSAGE_CENTER_EXPORT MessageCenter { |
| virtual size_t UnreadNotificationCount() const = 0; |
| virtual bool HasPopupNotifications() const = 0; |
| virtual bool IsQuietMode() const = 0; |
| + virtual bool IsLockedState() const = 0; |
| virtual bool HasClickedListener(const std::string& id) = 0; |
| // Find the notification with the corresponding id. Returns NULL if not found. |
| @@ -171,6 +172,9 @@ class MESSAGE_CENTER_EXPORT MessageCenter { |
| // This can be called to change the quiet mode state (without a timeout). |
| virtual void SetQuietMode(bool in_quiet_mode) = 0; |
| + // This can be called to change the quiet mode state (without a timeout). |
|
dewittj
2016/05/19 17:34:03
nit: no need to add timeout to comment.
yoshiki
2016/05/24 17:00:14
Done.
|
| + virtual void SetLockedState(bool locked) = 0; |
| + |
| // Temporarily enables quiet mode for |expires_in| time. |
| virtual void EnterQuietModeWithExpire(const base::TimeDelta& expires_in) = 0; |