/external/chromium_org/chrome/browser/notifications/ |
H A D | login_state_notification_blocker_chromeos_browsertest.cc | 65 const message_center::NotifierId& notifier_id) { 66 return blocker_->ShouldShowNotificationAsPopup(notifier_id); 86 message_center::NotifierId notifier_id( 93 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 99 EXPECT_FALSE(ShouldShowNotificationAsPopup(notifier_id)); 105 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 120 message_center::NotifierId notifier_id( 128 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 134 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 140 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); 64 ShouldShowNotificationAsPopup( const message_center::NotifierId& notifier_id) argument [all...] |
H A D | 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)); 51 ShouldShowNotificationAsPopup( const message_center::NotifierId& notifier_id) argument [all...] |
H A D | notification.cc | 36 const message_center::NotifierId& notifier_id, 47 notifier_id, 29 Notification( message_center::NotificationType type, const GURL& origin_url, const base::string16& title, const base::string16& body, const gfx::Image& icon, blink::WebTextDirection dir, const message_center::NotifierId& notifier_id, const base::string16& display_source, const base::string16& replace_id, const message_center::RichNotificationData& rich_notification_data, NotificationDelegate* delegate) argument
|
H A D | desktop_notification_service.cc | 197 NotifierId notifier_id(NotifierId::APPLICATION, (*iter)->id()); 198 if (IsNotifierEnabled(notifier_id)) 209 const NotifierId& notifier_id) { 210 switch (notifier_id.type) { 212 return disabled_extension_ids_.find(notifier_id.id) == 216 profile_, notifier_id.url) == CONTENT_SETTING_ALLOW; 219 return disabled_system_component_ids_.find(notifier_id.id) == 232 const NotifierId& notifier_id, 234 DCHECK_NE(NotifierId::WEB_PAGE, notifier_id.type); 239 switch (notifier_id 208 IsNotifierEnabled( const NotifierId& notifier_id) argument 231 SetNotifierEnabled( const NotifierId& notifier_id, bool enabled) argument 330 FirePermissionLevelChangedEvent( const NotifierId& notifier_id, bool enabled) argument [all...] |
H A D | extension_welcome_notification.cc | 40 const message_center::NotifierId notifier_id, 44 notifier_id_(notifier_id.type, notifier_id.id), 192 if ((notification.notifier_id() == notifier_id_) && !delayed_notification_) { 38 NotificationCallbacks( Profile* profile, const message_center::NotifierId notifier_id, const std::string& welcome_notification_id, ExtensionWelcomeNotification::Delegate* delegate) argument
|
H A D | message_center_settings_controller.cc | 235 NotifierId notifier_id(NotifierId::APPLICATION, extension->id()); 237 notifier_id, 239 notification_service->IsNotifierEnabled(notifier_id))); 263 NotifierId notifier_id(url); 265 notifier_id, 267 notification_service->IsNotifierEnabled(notifier_id))); 313 if (notifier.notifier_id.type == NotifierId::WEB_PAGE) { 326 if (notifier.notifier_id.url.is_valid()) { 329 profile, notifier.notifier_id.url); 332 profile, notifier.notifier_id 380 OnNotifierAdvancedSettingsRequested( const NotifierId& notifier_id, const std::string* notification_id) argument [all...] |
/external/chromium_org/ui/message_center/ |
H A D | notifier_settings.cc | 53 Notifier::Notifier(const NotifierId& notifier_id, argument 56 : notifier_id(notifier_id),
|
H A D | message_center_tray_unittest.cc | 259 NotifierId notifier_id = DummyNotifierId(); local 278 notifier_id, display_source));
|
H A D | notifier_settings.h | 86 Notifier(const NotifierId& notifier_id, 91 NotifierId notifier_id; member in struct:message_center::Notifier 136 virtual void UpdateIconImage(const NotifierId& notifier_id, 143 virtual void NotifierEnabledChanged(const NotifierId& notifier_id, 188 virtual bool NotifierHasAdvancedSettings(const NotifierId& notifier_id) 193 const NotifierId& notifier_id,
|
H A D | 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)); 89 OnNotifierAdvancedSettingsRequested( const NotifierId& notifier_id, const std::string* notification_id) argument 115 SetNotifierHasAdvancedSettings( const NotifierId& notifier_id) argument
|
H A D | notification.cc | 57 const NotifierId& notifier_id, 66 notifier_id_(notifier_id), 51 Notification(NotificationType type, const std::string& id, const base::string16& title, const base::string16& message, const gfx::Image& icon, const base::string16& display_source, const NotifierId& notifier_id, const RichNotificationData& optional_fields, NotificationDelegate* delegate) argument
|
H A D | fake_message_center.cc | 96 const NotifierId& notifier_id) { 95 DisableNotificationsByNotifier( const NotifierId& notifier_id) argument
|
H A D | message_center_impl_unittest.cc | 65 const std::string& id, const std::string& notifier_id) { 68 notifier_id, 79 const std::string& notifier_id, 90 NotifierId(NotifierId::APPLICATION, notifier_id), 121 const message_center::NotifierId& notifier_id) const OVERRIDE { 141 const NotifierId& notifier_id) const OVERRIDE { 142 return (notifier_id == allowed_notifier_) || 143 ToggledNotificationBlocker::ShouldShowNotificationAsPopup(notifier_id); 161 const NotifierId& notifier_id) const OVERRIDE { 162 return ShouldShowNotificationAsPopup(notifier_id); 64 CreateSimpleNotificationWithNotifierId( const std::string& id, const std::string& notifier_id) argument 77 CreateNotificationWithNotifierId( const std::string& id, const std::string& notifier_id, message_center::NotificationType type) argument [all...] |
H A D | message_center_tray.cc | 30 const NotifierId& notifier_id, 50 const NotifierId& notifier_id, 54 notifier_id_(notifier_id) { 200 const NotifierId& notifier_id, 203 this, notifier_id, display_source)); 48 NotificationMenuModel( MessageCenterTray* tray, const NotifierId& notifier_id, const base::string16& display_source) argument 199 CreateNotificationMenuModel( const NotifierId& notifier_id, const base::string16& display_source) argument
|
H A D | notification_list.cc | 26 if (!blockers[i]->ShouldShowNotificationAsPopup(notification.notifier_id())) 106 new_notification->notifier_id().type == NotifierId::WEB_PAGE) { 127 const NotifierId& notifier_id) { 131 if ((*iter)->notifier_id() == notifier_id) 286 if (!blockers[i]->ShouldShowNotification((*iter)->notifier_id())) { 126 GetNotificationsByNotifierId( const NotifierId& notifier_id) argument
|
H A D | notification.h | 63 const NotifierId& notifier_id, 94 const NotifierId& notifier_id() const { return notifier_id_; } function in class:message_center::Notification
|
/external/chromium_org/ash/system/ |
H A D | system_notifier.cc | 47 bool MatchSystemNotifierId(const message_center::NotifierId& notifier_id, argument 49 if (notifier_id.type != message_center::NotifierId::SYSTEM_COMPONENT) 53 if (notifier_id.id == id_list[i]) 77 bool ShouldAlwaysShowPopups(const message_center::NotifierId& notifier_id) { argument 78 return MatchSystemNotifierId(notifier_id, kAlwaysShownNotifierIds); 81 bool IsAshSystemNotifier(const message_center::NotifierId& notifier_id) { argument 82 return MatchSystemNotifierId(notifier_id, kAshSystemNotifiers);
|
/external/chromium_org/chrome/browser/ui/ash/multi_user/ |
H A D | multi_user_notification_blocker_chromeos_unittest.cc | 105 const message_center::NotifierId& notifier_id, 107 message_center::NotifierId id_with_profile = notifier_id; 113 const message_center::NotifierId& notifier_id, 115 message_center::NotifierId id_with_profile = notifier_id; 138 message_center::NotifierId notifier_id( 148 EXPECT_FALSE(ShouldShowNotificationAsPopup(notifier_id, "")); 151 EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id, GetDefaultUserId())); 152 EXPECT_FALSE(ShouldShowNotification(notifier_id, "")); 155 EXPECT_TRUE(ShouldShowNotification(notifier_id, GetDefaultUserId())); 161 EXPECT_FALSE(ShouldShowNotificationAsPopup(notifier_id, "")); 104 ShouldShowNotificationAsPopup( const message_center::NotifierId& notifier_id, const std::string profile_id) argument 112 ShouldShowNotification( const message_center::NotifierId& notifier_id, const std::string profile_id) argument [all...] |
/external/chromium_org/ui/message_center/views/ |
H A D | message_view.h | 55 const NotifierId& notifier_id, 95 NotifierId notifier_id() { return notifier_id_; } function in class:message_center::MessageView
|
H A D | notification_view_unittest.cc | 44 const NotifierId& notifier_id, 161 const NotifierId& notifier_id, 160 CreateMenuModel( const NotifierId& notifier_id, const base::string16& display_source) argument
|
H A D | message_center_view_unittest.cc | 102 const NotifierId& notifier_id, 191 const NotifierId& notifier_id, 190 CreateMenuModel( const NotifierId& notifier_id, const base::string16& display_source) argument
|
H A D | message_view.cc | 65 const NotifierId& notifier_id, 70 notifier_id_(notifier_id), 63 MessageView(MessageViewController* controller, const std::string& notification_id, const NotifierId& notifier_id, const gfx::ImageSkia& small_image, const base::string16& display_source) argument
|
H A D | toast_contents_view.cc | 307 const NotifierId& notifier_id, 306 CreateMenuModel( const NotifierId& notifier_id, const base::string16& display_source) argument
|
H A D | message_popup_collection.cc | 90 const NotifierId& notifier_id, 92 return tray_->CreateNotificationMenuModel(notifier_id, display_source); 89 CreateMenuModel( const NotifierId& notifier_id, const base::string16& display_source) argument
|
/external/chromium_org/chrome/browser/apps/ |
H A D | ephemeral_app_browsertest.cc | 76 bool IsNotifierInList(const message_center::NotifierId& notifier_id, argument 81 if (notifier->notifier_id == notifier_id) 705 message_center::NotifierId notifier_id( 707 EXPECT_TRUE(notification_service->IsNotifierEnabled(notifier_id)); 708 notification_service->SetNotifierEnabled(notifier_id, false); 709 EXPECT_FALSE(notification_service->IsNotifierEnabled(notifier_id)); 734 message_center::NotifierId notifier_id( 743 EXPECT_TRUE(IsNotifierInList(notifier_id, notifiers)); 752 EXPECT_FALSE(IsNotifierInList(notifier_id, notifier [all...] |