/external/chromium_org/chrome/browser/notifications/ |
multi_user_notification_blocker_chromeos_unittest.cc | 92 const message_center::NotifierId& notifier_id, 94 message_center::NotifierId id_with_profile = notifier_id; 100 const message_center::NotifierId& notifier_id, 102 message_center::NotifierId id_with_profile = notifier_id; 127 message_center::NotifierId notifier_id( 138 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id, "")); 141 EXPECT_TRUE(ShouldShowNotification(notifier_id, "")); 147 EXPECT_FALSE(ShouldShowNotificationAsPopup(notifier_id, "")); 150 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id, "test@example.com")); 151 EXPECT_FALSE(ShouldShowNotification(notifier_id, "")); [all...] |
login_state_notification_blocker_chromeos_unittest.cc | 52 const message_center::NotifierId& notifier_id) { 53 return blocker_->ShouldShowNotificationAsPopup(notifier_id); 65 message_center::NotifierId notifier_id( 67 EXPECT_FALSE(ShouldShowNotificationAsPopup(notifier_id)); 74 EXPECT_FALSE(ShouldShowNotificationAsPopup(notifier_id)); 81 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 86 EXPECT_FALSE(ShouldShowNotificationAsPopup(notifier_id)); 91 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 96 message_center::NotifierId notifier_id( 101 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); [all...] |
login_state_notification_blocker_chromeos_browsertest.cc | 71 const message_center::NotifierId& notifier_id) { 72 return blocker_->ShouldShowNotificationAsPopup(notifier_id); 92 message_center::NotifierId notifier_id( 99 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 105 EXPECT_FALSE(ShouldShowNotificationAsPopup(notifier_id)); 111 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 126 message_center::NotifierId notifier_id( 134 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 140 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 146 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); [all...] |
multi_user_notification_blocker_chromeos.cc | 38 const message_center::NotifierId& notifier_id) const { 42 if (ash::system_notifier::IsAshSystemNotifier(notifier_id)) 45 return notifier_id.profile_id == active_user_id_; 49 const message_center::NotifierId& notifier_id) const { 50 return ShouldShowNotification(notifier_id);
|
message_center_settings_controller.cc | 212 NotifierId notifier_id(NotifierId::APPLICATION, extension->id()); 214 notifier_id, 216 notification_service->IsNotifierEnabled(notifier_id))); 254 NotifierId notifier_id(url); 256 notifier_id, 258 notification_service->IsNotifierEnabled(notifier_id))); 307 if (notifier.notifier_id.type == NotifierId::WEB_PAGE) { 318 if (notifier.notifier_id.url.is_valid()) { 320 notification_service->GrantPermission(notifier.notifier_id.url); 322 notification_service->DenyPermission(notifier.notifier_id.url) [all...] |
multi_user_notification_blocker_chromeos.h | 28 const message_center::NotifierId& notifier_id) const OVERRIDE; 30 const message_center::NotifierId& notifier_id) const OVERRIDE;
|
fullscreen_notification_blocker.h | 27 const message_center::NotifierId& notifier_id) const OVERRIDE;
|
screen_lock_notification_blocker.cc | 38 const message_center::NotifierId& notifier_id) const {
|
screen_lock_notification_blocker.h | 26 const message_center::NotifierId& notifier_id) const OVERRIDE;
|
fullscreen_notification_blocker.cc | 68 const message_center::NotifierId& notifier_id) const { 73 notifier_id);
|
welcome_notification.cc | 113 message_center::NotifierId notifier_id = notification.notifier_id(); local 114 if ((notifier_id.id == kChromeNowExtensionID) && !delayed_notification_) { 130 ShowWelcomeNotification(notifier_id, 155 const message_center::NotifierId notifier_id, 180 notifier_id,
|
desktop_notification_service.cc | 523 NotifierId notifier_id(NotifierId::APPLICATION, (*iter)->id()); 524 if (IsNotifierEnabled(notifier_id)) 548 const NotifierId& notifier_id) { 549 switch (notifier_id.type) { 551 return disabled_extension_ids_.find(notifier_id.id) == 554 return GetContentSetting(notifier_id.url) == CONTENT_SETTING_ALLOW; 557 return disabled_system_component_ids_.find(notifier_id.id) == 564 return enabled_sync_notifier_ids_.find(notifier_id.id) != 573 const NotifierId& notifier_id, 575 DCHECK_NE(NotifierId::WEB_PAGE, notifier_id.type) [all...] |
/external/chromium_org/ash/system/ |
system_notifier.cc | 41 bool MatchSystemNotifierId(const message_center::NotifierId& notifier_id, 43 if (notifier_id.type != message_center::NotifierId::SYSTEM_COMPONENT) 47 if (notifier_id.id == id_list[i]) 70 bool ShouldAlwaysShowPopups(const message_center::NotifierId& notifier_id) { 71 return MatchSystemNotifierId(notifier_id, kAlwaysShownNotifierIds); 74 bool IsAshSystemNotifier(const message_center::NotifierId& notifier_id) { 75 return MatchSystemNotifierId(notifier_id, kAshSystemNotifiers);
|
system_notifier.h | 32 // Returns true if notifications from |notifier_id| should always appear as 36 const message_center::NotifierId& notifier_id); 38 // Returns true if |notifier_id| is the system notifier from Ash. 40 const message_center::NotifierId& notifier_id);
|
/external/chromium_org/ui/message_center/ |
notification_blocker.h | 34 // Returns true when notifications from |notifier_id| should appear in the 36 virtual bool ShouldShowNotification(const NotifierId& notifier_id) const; 38 // Returns true when notifications from |notifier_id| should be shown as 43 const NotifierId& notifier_id) const = 0;
|
notifier_settings.cc | 53 Notifier::Notifier(const NotifierId& notifier_id, 56 : notifier_id(notifier_id),
|
fake_notifier_settings_provider.cc | 83 const message_center::NotifierId& notifier_id) const { 86 return *notifier_id_with_settings_handler_ == notifier_id; 90 const NotifierId& notifier_id, 116 const NotifierId& notifier_id) { 117 notifier_id_with_settings_handler_.reset(new NotifierId(notifier_id));
|
fake_notifier_settings_provider.h | 34 virtual bool NotifierHasAdvancedSettings(const NotifierId& notifier_id) const 37 const NotifierId& notifier_id, 49 void SetNotifierHasAdvancedSettings(const NotifierId& notifier_id);
|
notification_blocker.cc | 32 const NotifierId& notifier_id) const {
|
notifier_settings.h | 89 Notifier(const NotifierId& notifier_id, const string16& name, bool enabled); 92 NotifierId notifier_id; member in struct:message_center::Notifier 137 virtual void UpdateIconImage(const NotifierId& notifier_id, 185 virtual bool NotifierHasAdvancedSettings(const NotifierId& notifier_id) 190 const NotifierId& notifier_id,
|
/external/chromium_org/ui/message_center/views/ |
notifier_settings_view_unittest.cc | 17 NotifierId notifier_id(NotifierId::APPLICATION, id); 18 return new Notifier(notifier_id, base::UTF8ToUTF16(title), enabled); 33 virtual bool NotifierHasAdvancedSettings(const NotifierId& notifier_id) const 35 return notifier_id == settings_handler_id_; 39 const NotifierId& notifier_id, 42 last_notifier_id_settings_requested_.reset(new NotifierId(notifier_id));
|
message_center_controller.h | 24 const NotifierId& notifier_id) = 0; 31 virtual void ExpandGroup(const NotifierId& notifier_id) = 0; 32 virtual void RemoveGroup(const NotifierId& notifier_id) = 0;
|
message_view.cc | 44 message_center::NotifierId notifier_id, 64 message_center::NotifierId notifier_id, 68 notifier_id_(notifier_id) { 120 const NotifierId& notifier_id, 137 const NotifierId& notifier_id, 140 notifier_id_(notifier_id), 168 const NotifierId& notifier_id, 172 notifier_id_(notifier_id), 175 notifier_id,
|
group_view.h | 25 // Each GroupView has a notifier_id which it uses to report clicks and other 28 const NotifierId& notifier_id, 51 const NotifierId& notifier_id) OVERRIDE;
|
message_center_view_unittest.cc | 102 const NotifierId& notifier_id) OVERRIDE; 110 virtual void ExpandGroup(const NotifierId& notifier_id) OVERRIDE; 111 virtual void RemoveGroup(const NotifierId& notifier_id) OVERRIDE; 195 const NotifierId& notifier_id) { 229 void MessageCenterViewTest::ExpandGroup(const NotifierId& notifier_id) { 234 void MessageCenterViewTest::RemoveGroup(const NotifierId& notifier_id) {
|