Home
last modified time | relevance | path

Searched refs:kNotificationId (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/chrome/browser/signin/
Dsignin_error_notifier_ash_unittest.cc44 static const std::string kNotificationId = variable
106 g_browser_process->notification_ui_manager()->FindById(kNotificationId); in GetMessage()
121 ASSERT_FALSE(notification_ui_manager_->FindById(kNotificationId)); in TEST_F()
125 ASSERT_FALSE(notification_ui_manager_->FindById(kNotificationId)); in TEST_F()
127 ASSERT_FALSE(notification_ui_manager_->FindById(kNotificationId)); in TEST_F()
135 ASSERT_FALSE(notification_ui_manager_->FindById(kNotificationId)); in TEST_F()
143 ASSERT_TRUE(notification_ui_manager_->FindById(kNotificationId)); in TEST_F()
146 ASSERT_FALSE(notification_ui_manager_->FindById(kNotificationId)); in TEST_F()
149 ASSERT_FALSE(notification_ui_manager_->FindById(kNotificationId)); in TEST_F()
170 ASSERT_TRUE(notification_ui_manager_->FindById(kNotificationId)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/net/
Dnetwork_portal_notification_controller_unittest.cc19 const char* kNotificationId = variable
20 NetworkPortalNotificationController::kNotificationId;
24 return message_center->FindVisibleNotificationById(kNotificationId); in HasNotification()
34 if (notification_id == kNotificationId) in OnNotificationAdded()
40 if (notification_id == kNotificationId) in OnNotificationRemoved()
46 if (notification_id == kNotificationId) in OnNotificationUpdated()
128 MessageCenter::Get()->RemoveNotification(kNotificationId, true /* by_user */); in TEST_F()
176 MessageCenter::Get()->RemoveNotification(kNotificationId, true /* by_user */); in TEST_F()
Dnetwork_portal_detector_impl_browsertest.cc34 const char* kNotificationId = variable
35 NetworkPortalNotificationController::kNotificationId;
77 if (notification_id == kNotificationId) in OnNotificationDisplayed()
83 if (notification_id == kNotificationId && by_user) in OnNotificationRemoved()
177 ASSERT_FALSE(message_center()->FindVisibleNotificationById(kNotificationId)); in IN_PROC_BROWSER_TEST_F()
183 ASSERT_TRUE(message_center()->FindVisibleNotificationById(kNotificationId)); in IN_PROC_BROWSER_TEST_F()
196 message_center()->RemoveNotification(kNotificationId, true); in IN_PROC_BROWSER_TEST_F()
Dnetwork_portal_notification_controller.cc48 NetworkPortalNotificationController::kNotificationId, false); in CloseNotification()
118 const char NetworkPortalNotificationController::kNotificationId[] = member in chromeos::NetworkPortalNotificationController
164 kNotificationId, in OnPortalDetectionCompleted()
Dnetwork_portal_notification_controller.h32 static const char kNotificationId[]; variable
/external/chromium_org/ash/system/chromeos/session/
Dtray_session_length_limit.cc41 const char TraySessionLengthLimit::kNotificationId[] = member in ash::TraySessionLengthLimit
126 !message_center->FindVisibleNotificationById(kNotificationId)) { in UpdateNotification()
135 message_center->FindVisibleNotificationById(kNotificationId)) { in UpdateNotification()
137 kNotificationId, false /* by_user */); in UpdateNotification()
153 kNotificationId, in UpdateNotification()
165 if (message_center->FindVisibleNotificationById(kNotificationId)) in UpdateNotification()
166 message_center->UpdateNotification(kNotificationId, notification.Pass()); in UpdateNotification()
Dtray_session_length_limit_unittest.cc49 if ((*iter)->id() == TraySessionLengthLimit::kNotificationId) in GetNotification()
62 TraySessionLengthLimit::kNotificationId, false /* by_user */); in RemoveNotification()
Dtray_session_length_limit.h48 static const char kNotificationId[]; variable
/external/chromium_org/ash/system/chromeos/supervised/
Dtray_supervised_user.cc26 const char TraySupervisedUser::kNotificationId[] = member in ash::TraySupervisedUser
45 kNotificationId)) in UpdateMessage()
90 kNotificationId, in CreateOrUpdateNotification()
Dtray_supervised_user.h38 static const char kNotificationId[]; variable
Dtray_supervised_user_unittest.cc37 if ((*iter)->id() == TraySupervisedUser::kNotificationId) in GetPopup()
/external/chromium_org/ash/display/
Dresolution_notification_controller.cc101 const char ResolutionNotificationController::kNotificationId[] = member in ash::ResolutionNotificationController
199 message_center->RemoveNotification(kNotificationId, false /* by_user */); in CreateOrUpdateNotification()
238 kNotificationId, in CreateOrUpdateNotification()
268 kNotificationId, false /* by_user */); in AcceptResolutionChange()
277 kNotificationId, false /* by_user */); in RevertResolutionChange()
Dresolution_notification_controller_unittest.cc113 if ((*iter)->id() == ResolutionNotificationController::kNotificationId) in GetNotificationMessage()
122 ResolutionNotificationController::kNotificationId); in ClickOnNotification()
127 ResolutionNotificationController::kNotificationId, index); in ClickOnNotificationButton()
132 ResolutionNotificationController::kNotificationId, true /* by_user */); in CloseNotification()
137 ResolutionNotificationController::kNotificationId); in IsNotificationVisible()
Dresolution_notification_controller.h77 static const char kNotificationId[]; variable
/external/chromium_org/chrome/browser/sync/
Dsync_error_notifier_ash_unittest.cc45 static const std::string kNotificationId = variable
160 FindById(kNotificationId); in VerifySyncErrorNotifierResult()
196 ASSERT_FALSE(notification_ui_manager_->FindById(kNotificationId)); in TEST_F()
/external/chromium_org/ash/system/chromeos/power/
Dtray_power.cc256 const char kNotificationId[] = "usb-charger"; in MaybeShowUsbChargerNotification() local
263 kNotificationId, in MaybeShowUsbChargerNotification()
281 message_center_->RemoveNotification(kNotificationId, false); in MaybeShowUsbChargerNotification()
/external/chromium_org/ash/system/chromeos/
Dtray_display.cc134 const char TrayDisplay::kNotificationId[] = "chrome://settings/display"; member in ash::TrayDisplay
376 kNotificationId, false /* by_user */); in CreateOrUpdateNotification()
391 kNotificationId, in CreateOrUpdateNotification()
Dtray_display.h38 static const char kNotificationId[]; variable
Dtray_display_unittest.cc120 TrayDisplay::kNotificationId, false); in CloseNotification()
168 if ((*iter)->id() == TrayDisplay::kNotificationId) in GetDisplayNotification()
/external/chromium_org/chrome/browser/ui/ash/
Dscreenshot_taker.cc58 const char kNotificationId[] = "screenshot"; variable
163 return std::string(kNotificationId); in id()
476 const std::string notification_id(kNotificationId); in CreateNotification()
/external/chromium_org/chrome/browser/chromeos/display/
Ddisplay_preferences_unittest.cc465 ResolutionNotificationController::kNotificationId, 1); in TEST_F()
469 ResolutionNotificationController::kNotificationId)); in TEST_F()