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

Side by Side Diff: ui/message_center/fake_message_center.cc

Issue 2018063002: Revert of Show message center on lock screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « ui/message_center/fake_message_center.h ('k') | ui/message_center/message_center.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/message_center/fake_message_center.h" 5 #include "ui/message_center/fake_message_center.h"
6 #include "ui/message_center/notification_list.h" 6 #include "ui/message_center/notification_list.h"
7 7
8 namespace message_center { 8 namespace message_center {
9 9
10 FakeMessageCenter::FakeMessageCenter() { 10 FakeMessageCenter::FakeMessageCenter() {
(...skipping 24 matching lines...) Expand all
35 } 35 }
36 36
37 bool FakeMessageCenter::HasPopupNotifications() const { 37 bool FakeMessageCenter::HasPopupNotifications() const {
38 return false; 38 return false;
39 } 39 }
40 40
41 bool FakeMessageCenter::IsQuietMode() const { 41 bool FakeMessageCenter::IsQuietMode() const {
42 return false; 42 return false;
43 } 43 }
44 44
45 bool FakeMessageCenter::IsLockedState() const {
46 return false;
47 }
48
49 bool FakeMessageCenter::HasClickedListener(const std::string& id) { 45 bool FakeMessageCenter::HasClickedListener(const std::string& id) {
50 return false; 46 return false;
51 } 47 }
52 48
53 message_center::Notification* FakeMessageCenter::FindVisibleNotificationById( 49 message_center::Notification* FakeMessageCenter::FindVisibleNotificationById(
54 const std::string& id) { 50 const std::string& id) {
55 return NULL; 51 return NULL;
56 } 52 }
57 53
58 const NotificationList::Notifications& 54 const NotificationList::Notifications&
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 NotifierSettingsProvider* provider) { 114 NotifierSettingsProvider* provider) {
119 } 115 }
120 116
121 NotifierSettingsProvider* FakeMessageCenter::GetNotifierSettingsProvider() { 117 NotifierSettingsProvider* FakeMessageCenter::GetNotifierSettingsProvider() {
122 return NULL; 118 return NULL;
123 } 119 }
124 120
125 void FakeMessageCenter::SetQuietMode(bool in_quiet_mode) { 121 void FakeMessageCenter::SetQuietMode(bool in_quiet_mode) {
126 } 122 }
127 123
128 void FakeMessageCenter::SetLockedState(bool locked) {}
129
130 void FakeMessageCenter::EnterQuietModeWithExpire( 124 void FakeMessageCenter::EnterQuietModeWithExpire(
131 const base::TimeDelta& expires_in) { 125 const base::TimeDelta& expires_in) {
132 } 126 }
133 127
134 void FakeMessageCenter::SetVisibility(Visibility visible) { 128 void FakeMessageCenter::SetVisibility(Visibility visible) {
135 } 129 }
136 130
137 bool FakeMessageCenter::IsMessageCenterVisible() const { 131 bool FakeMessageCenter::IsMessageCenterVisible() const {
138 return false; 132 return false;
139 } 133 }
140 134
141 void FakeMessageCenter::RestartPopupTimers() {} 135 void FakeMessageCenter::RestartPopupTimers() {}
142 136
143 void FakeMessageCenter::PausePopupTimers() {} 137 void FakeMessageCenter::PausePopupTimers() {}
144 138
145 void FakeMessageCenter::DisableTimersForTest() {} 139 void FakeMessageCenter::DisableTimersForTest() {}
146 140
147 void FakeMessageCenter::EnableChangeQueueForTest(bool enabled) {} 141 void FakeMessageCenter::EnableChangeQueueForTest(bool enabled) {}
148 142
149 } // namespace message_center 143 } // namespace message_center
OLDNEW
« no previous file with comments | « ui/message_center/fake_message_center.h ('k') | ui/message_center/message_center.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698