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

Unified Diff: ui/message_center/fake_message_center.h

Issue 1986493002: Show message center on lock screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 7 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
Index: ui/message_center/fake_message_center.h
diff --git a/ui/message_center/fake_message_center.h b/ui/message_center/fake_message_center.h
index 023df8e713b81566e7a88c44f6414b621d671177..6cee5daf63c7bb8493cdc876bd23c1e89efb0b3e 100644
--- a/ui/message_center/fake_message_center.h
+++ b/ui/message_center/fake_message_center.h
@@ -30,6 +30,7 @@ class FakeMessageCenter : public MessageCenter {
size_t UnreadNotificationCount() const override;
bool HasPopupNotifications() const override;
bool IsQuietMode() const override;
+ bool IsLockedState() const override;
bool HasClickedListener(const std::string& id) override;
message_center::Notification* FindVisibleNotificationById(
const std::string& id) override;
@@ -63,6 +64,7 @@ class FakeMessageCenter : public MessageCenter {
void SetNotifierSettingsProvider(NotifierSettingsProvider* provider) override;
NotifierSettingsProvider* GetNotifierSettingsProvider() override;
void SetQuietMode(bool in_quiet_mode) override;
+ void SetLockedState(bool locked) override;
void EnterQuietModeWithExpire(const base::TimeDelta& expires_in) override;
void SetVisibility(Visibility visible) override;
bool IsMessageCenterVisible() const override;

Powered by Google App Engine
This is Rietveld 408576698