Index: ui/message_center/views/message_center_view.h |
diff --git a/ui/message_center/views/message_center_view.h b/ui/message_center/views/message_center_view.h |
index 9a37ade9987b5ba9773f0264c67d9b650415a9d1..93bedd5c17851d08afdc81297f5cf93139588a2e 100644 |
--- a/ui/message_center/views/message_center_view.h |
+++ b/ui/message_center/views/message_center_view.h |
@@ -73,6 +73,7 @@ class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View, |
void OnNotificationAdded(const std::string& id) override; |
void OnNotificationRemoved(const std::string& id, bool by_user) override; |
void OnNotificationUpdated(const std::string& id) override; |
+ void OnLockedStateChanged(bool locked) override; |
// Overridden from MessageCenterController: |
void ClickOnNotification(const std::string& notification_id) override; |
@@ -96,6 +97,8 @@ class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View, |
enum class Mode { NOTIFICATIONS, SETTINGS, BUTTONS_ONLY }; |
+ static bool disable_animation_for_testing; |
+ |
void AddNotificationAt(const Notification& notification, int index); |
base::string16 GetButtonBarTitle() const; |
void Update(bool animate); |
@@ -137,6 +140,7 @@ class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View, |
bool is_closing_; |
bool is_clearing_ = false; |
+ bool is_locked_ = false; |
// Current view mode. During animation, it is the target mode. |
Mode mode_ = Mode::BUTTONS_ONLY; |