// Step 1: hide all notifications pending removal with fade-out animation.
- (void)hideNotificationsPendingRemoval;
-// Step 2: move up all remaining notfications to take over the available space
+// Step 2: move up all remaining notifications to take over the available space
// due to hiding notifications. The scroll view and the window remain unchanged.
- (void)moveUpRemainingNotifications;
// "Clear All" is clicked.
- (void)clearOneNotification;
-// When all visible notificatons slide out, re-enable controls and remove
+// When all visible notifications slide out, re-enable controls and remove
// notifications from the message center.
- (void)finalizeClearAll;
[[scrollView_ documentView] addSubview:[controller view]];
[notifications_ addObject:controller]; // Transfer ownership.
- messageCenter_->DisplayedNotification((*it)->id());
+ messageCenter_->DisplayedNotification(
+ (*it)->id(), message_center::DISPLAY_SOURCE_MESSAGE_CENTER);
notification = controller.get();
} else {